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:
parent
1c2cdd3a96
commit
adae03c9e7
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue