Changes in 2.0.6
Here's changes in version 2.0.6
- HTTP
- 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.