Pure-Python HPACK header compression
Project description
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.
Contributing
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.
License
hpack is made available under the MIT License. For more details, see the LICENSE file in the repository.
Release History
1.1.0 (2015-07-07)
Add support for emitting ‘never indexed’ header fields, by using an optional third element in the header tuple. With thanks to @jimcarreer!
1.0.1 (2015-04-19)
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.
1.0.0 (2015-04-13)
Initial fork of the code from hyper.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for hpack-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fd4bd61395977cff3387016455b9cc1692b8ecd0489d5bd9a05b680ab7e1442 |
|
MD5 | 0c2e260999fd34349a230b8650b87aa6 |
|
BLAKE2b-256 | 02ace911d90e9c946e6e9f3b521af51393a3aa44b2bf6631591104decf3fb22d |