mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
Add history note for #603.
This commit is contained in:
parent
bf445157c2
commit
e0e48fc4db
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@
|
||||||
ParamsArray passed as the payload. Instead, automatically use
|
ParamsArray passed as the payload. Instead, automatically use
|
||||||
Payload::Multipart if the ParamsArray contains a file handle, or use
|
Payload::Multipart if the ParamsArray contains a file handle, or use
|
||||||
Payload::UrlEncoded if it doesn't. (#508)
|
Payload::UrlEncoded if it doesn't. (#508)
|
||||||
|
- Gracefully handle Payload objects (Payload::Base or subclasses) that are
|
||||||
|
passed as a payload argument. Previously, `Payload.generate` would wrap a
|
||||||
|
Payload object in Payload::Streamed, creating a pointlessly nested payload.
|
||||||
|
Also add a `closed?` method to Payload objects, and don't error in
|
||||||
|
`short_inspect` if `size` returns nil. (#603)
|
||||||
|
|
||||||
# 2.0.2
|
# 2.0.2
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue