Features
- Automatic GZIP decoding: By default,
Client
will try to decode any responses that appear to be gzip encoded (based on headers). This can be disabled viaclient.gzip(false)
(ab5e477) - Specify a timeout for requests using
client.timeout(duration)
. (ec049fe) - Request bodies with a known length can be constructed with
Body::sized()
(82f1877) - Add
Client.put
,Client.patch
, andClient.delete
convenience methods (c37b8aa, 4d6582d, a3983f3) - Add
reqwest::mime
(0615c6d)
Breaking Changes
The only breaking change is a behavioral one, all programs should still compile without modification. The automatic GZIP decoding could interfere in cases where a user was expecting the GZIP bytes, either to save to a file or decode themselves. To restore this functionality, set client.gzip(false)
.
Thanks
All features were from these contributors, so thanks!