A few weeks back I posted a vent blog entry about some shortcomings of Ruby. Well, it looks like one of my concerns has been at least partially resolved.
Hiroshi Nakamura created, and continues to maintain, a wrapper around Net::Http called httpclient which adds enough functionality to save lots of time. Sure the performance still sucks compared to curl, but with this great library you can do multipart form posts and basic cookie functionality. Now my rails app can finally make use of some more complex HTTP based APIs out there (not everything is simple REST).
Hiroshi, you rock, but back to my other complaint about Ruby stuff being scattered about the wind, please submit your gems to one of the big repositories so we can find them :)
Search
About this Entry
This page contains a single entry by Jennifer published on May 14, 2009 9:56 PM.
HTCPCP/1.0 418 I'm a [little] teapot was the previous entry in this blog.
Groovy on Grails - Could not open ServletContext resource [/WEB-INF/applicationContext.xml] is the next entry in this blog.
Find recent content on the main index or look in the archives to find all content.
Categories
Monthly Archives
- January 2012 (2)
- December 2011 (2)
- November 2011 (1)
- July 2011 (3)
- March 2011 (1)
- February 2011 (3)
- December 2010 (1)
- November 2010 (1)
- September 2010 (1)
- June 2010 (1)
- May 2010 (3)
- April 2010 (1)
- March 2010 (3)
- February 2010 (3)
- January 2010 (2)
- December 2009 (3)
- November 2009 (4)
- October 2009 (1)
- September 2009 (5)
- August 2009 (4)
- July 2009 (8)
- June 2009 (9)
- May 2009 (14)
- December 2008 (1)