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 :)
A suitable alternative to Net::HTTP in Ruby
Categories:
Tags:
About this Entry
This page contains a single entry by Author 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.
