Version 0.10.0
0.10.0 (August 7th, 2020)
The most notable change in the 0.10.0 release is that HTTP/2 support is now fully optional.
Use either pip install httpcore for HTTP/1.1 support only, or pip install httpcore[http2] for HTTP/1.1 and HTTP/2 support.
Added
- HTTP/2 support becomes optional. (Pull #121, #130)
- Add
local_address=...support. (Pull #100, #134) - Add
PlainByteStream,IteratorByteStream,AsyncIteratorByteStream. TheAsyncByteSteamandSyncByteStreamclasses are now pure interface classes. (#133) - Add
LocalProtocolError,RemoteProtocolErrorexceptions. (Pull #129) - Add
UnsupportedProtocolexception. (Pull #128) - Add
.get_connection_info()method. (Pull #102, #137) - Add better TRACE logs. (Pull #101)
Changed
max_keepaliveis deprecated in favour ofmax_keepalive_connections. (Pull #140)
Fixed
- Improve handling of server disconnects. (Pull #112)