||Accessing resources via HTTP
||2002-12-31 15:00:00 GMT
||2004-12-24 15:41:58 GMT
(Projects of this owner)
http-access2 gives something like the functionality of libwww-perl (LWP) in Ruby.
- methods like GET/HEAD/POST via HTTP/1.1.
- asynchronous HTTP request
- by contrast with net/http in standard distribution;
- you don't have to care HTTP/1.1 persistent connection (http-access2 cares instead of you).
- streaming POST
Not supported now;
- Rather advanced HTTP/1.1 usage such as Range, deflate, etc. (of cource you can set it in header by yourself)
Changes in version 2.0.5
This is a minor bug fix release.
- Connect/Send/Receive timeout cannot be configured. fixed.
- IPSocket#addr caused SocketError? on Mac OS X 10.3.6 + ruby-1.8.1 GA. fixed.
- There is a server which does not like 'foo.bar.com:80' style Host header. The server for http://rubyforge.org/export/rss_sfnews.php seems to dislike HTTP/1.1 Host header "Host: rubyforge.net:80". It returns HTTP 302: Found and redirects to the page again, causes HTTPAccess2::Client to raise "retry count exceeded". Keat found that the server likes "Host: rubyforge.net" (not with port number).