RAA - http-access2

先のエントリのPerlスクリプトについて。LWPライブラリの蓄積に一日の長のあるPerlに軍配を上げていたが、今回は改めてRubyでも同等品がないかRAA - Ruby Application Archiveで聞いてみる。
発見!

something like the functionality of libwww-perl (LWP) in Ruby

http://dev.ctor.org/http-access2

機能は

  • methods like GET/HEAD/POST via HTTP/1.1.
  • asynchronous HTTP request
  • HTTPS(SSL)
  • 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).
    • MT-safe
    • streaming POST
    • Cookies

ソースコードはここから閲覧可能。
http://raa.ruby-lang.org/gonzui/markup/http-access2