* initialize in SNI hostname for HTTPS
* default to requesting compressed response
This behavior can be disabled via :compressed => false when initializing
the request. Closes#270.
* ```cookiejar``` is correct except for ver 0.3.1.
* Fix unused variable warnings
* Add test for basicauth+proxy case
* Don't pass userinfo through to proxies in path position
When requesting via an HTTP proxy, we put the entire URI in the position
where usually the path and query string is expected. However, if the
original URI included a basic auth section, we must not include it, but
rather convert it to an Authorization header.
* use bing for integration pipelining tests
* Prevent data corruption when decoding gzip stream, fixes#284
This fixes an issue where a gzip stream chunked into smaller pieces
would result in a buffer overrun when decoding the headers.
Previously the position where the headers end in `compressed` was
determined by the delta of `@pos` before and after reading the
headers. This didn't take into account the fact that `@data` may already
contain data, but not enough to have advanced `@pos` on previous
iterations.
* Prevent data corruption when decoding gzip stream, fixes#284
Quote from commit logs:
* Reset and close connection on duplicate response.
* Rescue from StandardError instead of Exception.
* Handle redirects on keep-alive connections.
* Fix the issue when redirect url is triggered only after inactivity timeout.
* ignore query option when redirecting.
* Use Base64.strict_encode64 to not add line feeds.
* Cleanup header annotations for rubydocs, closes#281.
* Use inferred_port, port can be nil causing connection failures.
* Don't modify header for CONNECT style proxies.
* fixing specs, cleaning up deprecation warning.
* Don't memoize status; http_status may change.