Add history note about proxy disabling.

This commit is contained in:
Andy Brody 2015-05-19 02:53:53 +01:00
parent 19850ae4e4
commit 9bbfd932f2
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ This release is largely API compatible, but makes several breaking changes.
- Don't set basic auth header if explicit `Authorization` header is specified
- Add `:proxy` option to requests, which can be used for thread-safe
per-request proxy configuration, overriding `RestClient.proxy`
- Allow overriding `ENV['http_proxy']` to disable proxies by setting
`RestClient.proxy` to a falsey value. Previously there was no way in Ruby 2.x
to turn off a proxy specified in the environment without changing `ENV`.
- Add actual support for streaming request payloads. Previously rest-client
would call `.to_s` even on RestClient::Payload::Streamed objects. Instead,
treat any object that responds to `.read` as a streaming payload and pass it