| Short description: |
Accessing resources via HTTP |
| Category: |
Library/Net |
| Status: |
active |
| Created: |
2002-12-31 15:00:00 GMT |
| Last update: |
2005-09-16 10:10:37 GMT |
| Owner: |
NaHi
(Projects of this owner) |
| Homepage: |
http://dev.ctor.org/http-access2 |
| Download: |
http://dev.ctor.org/download/http-access-2_0_6.tar.gz
|
| License: |
Ruby's |
| Dependency: |
|
| Description: |
http-access2 gives something like the functionality of libwww-perl (LWP) in Ruby.
Features;
- 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
Not supported now;
- Cache
- 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.6
- HTTP
- allows redirects from a "POST" request. imported a patch from sveit.
Thanks! (#7)
- add 'content-type: application/application/x-www-form-urlencoded' when
a request contains message-body. (#11)
- HTTP/0.9 support. (#15)
- allows submitting multipart forms. imported a patch from sveit.
Thanks! (#7)
- HTTP-Cookies
- avoid !NameError when a cookie value is nil. (#10)
- added netscape_rule property to !CookieManager (false by default). You
can turn on the domain attribute test of Netscape rule with the
property. cf. http://wp.netscape.com/newsref/std/cookie_spec.html
- added HTTPClient#cookie_manager property for accessing its properties.
(#13)
- added save_all_cookies method to save unused and discarded cookies as
well. The patch is from Christian Lademann. Thanks! (#21)
- allow to set cookie_manager. raise an error when set_cookie_store
called and cookie_store has already been set. (#20)
- SSL
- allows SSL connection debugging when debug_dev != nil. (#14)
- skip post_connection_check when verify_mode == OpenSSL::SSL::VERIFY_NONE. Thanks to kdraper. (#12)
- post_connection_check: support a certificate with a wildcard in the
hostname. (#18)
- avoid !NameError when no peer_cert and VERIFY_FAIL_IF_NO_PEER_CERT
given. Thanks to Christian Lademann.
- Connection
- insert a connecting host and port to an exception message when
connecting failed. (#5)
- added socket_sync property to HTTPClient(HTTPAccess2::Client) that
controls socket's sync property. the default value is true. CAUTION:
if your ruby is older than 2005-09-06 and you want to use SSL
connection, do not set socket_sync = false to avoid a blocking bug of
openssl/buffering.rb.
|
| Versions: |
[2.0.9 (2007-07-04)]
[2.0.8 (2007-06-30)]
[2.0.7 (2007-05-13)]
[2.0.6 (2005-09-16)]
[2.0.5 (2004-12-24)]
[2.0.4 (2004-02-11)]
|