This repository has been archived by the owner on Jan 13, 2021. It is now read-only.
v0.4.0
New Features
- HTTP/1.1 and HTTP/2 abstraction layer. Don't specify what version you want to use, just automatically get the best version the server supports!
- Support for upgrading plaintext HTTP/1.1 to plaintext HTTP/2, with thanks to @fredthomsen! (Issue #28)
HTTP11Connection
andHTTPConnection
objects are now both context managers.- Added support for ALPN negotiation when using PyOpenSSL. (Issue #31)
- Added support for user-provided SSLContext objects, with thanks to @jdecuyper! (Issue #8)
- Better support for HTTP/2 error codes, with thanks to @jdecuyper! (Issue #119)
- More gracefully close connections, with thanks to @jdecuyper! (Issue #15)
Structural Changes
- The framing and HPACK layers were stripped out into their own libraries.
Bugfixes
- Properly verify hostnames when using PyOpenSSL.