reqwest v0.10.0 Release NotesRelease Date: 2019-12-30 // about 1 year ago
wasm32-unknown-unknownsupport (with fewer features).
➕ Add ability to pass async
Response::bytes_stream()method to get body as an
🔄 Change default
ClientAPI to async. The previous blocking client API is avaialble at
🔄 Change to no longer send a default
User-Agentheader. Add one via
🔄 Change to enable system/environment proxy detection by default.
default-tlsfeature to only include
ClientBuilderoptions that both
🔄 Change default feature set to reduce unnecessary dependencies. Most features are disabled by default:
reqwest::blocking(synchronous) client API.
cookies: Cookie store support.
gzip: Automatic response body decompression.
json: Request and response JSON body methods.
Errorinternal design, removing several
🔄 Change Redirect API:
- Renamed types to be part of the
redirectmodule (for example,
redirect::Attempt, replaced with a generic
- The default policy no longer specifically looks for redirect loops (but they should be caught by the maximum limit).
🛠 Fix checking
HTTP_PROXYenvironment variable if it the environment is from a CGI script.
🛠 Fix removal of username/password of parsed proxy URL.