1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

Add streaming payload history notes.

This commit is contained in:
Andy Brody 2015-04-14 17:11:26 -07:00
parent 1c2cdd3a96
commit adae03c9e7

View file

@ -34,6 +34,11 @@ 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`
- 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
through to `.body_stream=` on the Net:HTTP object. This massively reduces the
memory required for large file uploads.
# 1.8.0