Pure-Python HPACK header compression
This module contains a pure-Python HTTP/2 header encoding (HPACK) logic for use in Python programs that implement HTTP/2. It also contains a compatibility layer that automatically enables the use of nghttp2 if it’s available.
hpack welcomes contributions from anyone! Unlike many other projects we are happy to accept cosmetic contributions and small contributions, in addition to large feature requests and changes.
Before you contribute (either by opening an issue or filing a pull request), please read the contribution guidelines.
hpack is made available under the MIT License. For more details, see the LICENSE file in the repository.
- Header fields that have names matching header table entries are now added to the header table. This improves compression efficiency at the cost of slightly more table operations. With thanks to Tatsuhiro Tsujikawa.
- Initial fork of the code from hyper.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|hpack-1.0.1-py2.py3-none-any.whl (14.2 kB) Copy SHA256 hash SHA256||Wheel||3.4|
|hpack-1.0.1.tar.gz (16.4 kB) Copy SHA256 hash SHA256||Source||None|