1
0
Fork 0
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:
Andy Brody 2017-05-22 01:38:53 -04:00
parent bf445157c2
commit e0e48fc4db

View file

@ -21,6 +21,11 @@
ParamsArray passed as the payload. Instead, automatically use
Payload::Multipart if the ParamsArray contains a file handle, or use
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