httpx v0.7.0 Release Notes

Release Date: 2019-08-17 // over 4 years ago
    • ➕ Add the trust_env property to BaseClient. (Pull #187)
    • ➕ Add the links property to BaseResponse. (Pull #211)
    • Accept ssl.SSLContext instances into SSLConfig(verify=...). (Pull #215)
    • ➕ Add Response.stream_text() with incremental encoding detection. (Pull #183)
    • ⚡️ Properly updated the Host header when a redirect changes the origin. (Pull #199)
    • Ignore invalid Content-Encoding headers. (Pull #196)
    • 0️⃣ Use ~/.netrc and ~/_netrc files by default when trust_env=True. (Pull #189)
    • 👻 Create exception base class HTTPError with request and response properties. (Pull #162)
    • ➕ Add HSTS preload list checking within BaseClient to upgrade HTTP URLs to HTTPS. (Pull #184)
    • Switch IDNA encoding from IDNA 2003 to IDNA 2008. (Pull #161)
    • 🔦 Expose base classes for alternate concurrency backends. (Pull #178)
    • 👌 Improve Multipart parameter encoding. (Pull #167)
    • ➕ Add the headers proeprty to BaseClient. (Pull #159)
    • ➕ Add support for Google's brotli library. (Pull #156)
    • ✂ Remove deprecated TLS versions (TLSv1 and TLSv1.1) from default SSLConfig. (Pull #155)
    • 🛠 Fix URL.join(...) to work similarly to RFC 3986 URL joining. (Pull #144)