Skip to main content

Pure-Python HPACK header compression

Project description

https://raw.github.com/Lukasa/hyper/development/docs/source/images/hyper.png https://travis-ci.org/Lukasa/hpack.png?branch=master

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.

Authors

hpack is maintained by Cory Benfield, with contributions from others. For more details about the contributors, please see CONTRIBUTORS.rst.

Release History

2.0.0 (2015-10-12)

  • Remove unused HPACKEncodingError.

  • Add the shortcut ability to import the public API (Encoder, Decoder, HPACKError, HPACKDecodingError) directly, rather than from hpack.hpack.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hpack-2.0.0.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

hpack-2.0.0-py2.py3-none-any.whl (15.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file hpack-2.0.0.tar.gz.

File metadata

  • Download URL: hpack-2.0.0.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hpack-2.0.0.tar.gz
Algorithm Hash digest
SHA256 d0d64f68aff714bc01cd37b233c40977b423ca544519548fdcd315251a18f94c
MD5 0ff8ea2e1aa9a7ab9353b29bbbb44a7f
BLAKE2b-256 d661f52863dd81c2645ae82c1635f75debd29d5e82204b48c15921bbc460ef38

See more details on using hashes here.

File details

Details for the file hpack-2.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for hpack-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e508685350e1e8f58addaaf27c86645aba42f2c2eb992271e09d2b277ff00d0d
MD5 4df4267153ba96c56127c343f5ecdf3a
BLAKE2b-256 8f2b0cf52a73572f893bdf0dae7be3dd88089260e5934db57599bde5bd09d332

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page