python3-hpack - Pure-Python HPACK header compression

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename python3-hpack-3.0.0-3.2.noarch.rpm
Package name python3-hpack
Package version 3.0.0
Package release 3.2
Package architecture noarch
Package type rpm
Category Development/Languages/Python
License MIT
Maintainer -
Download size 56.21 KB
Installed size 325.58 KB
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.


Package Version Architecture Repository
python3-hpack - - -


Name Value
python(abi) = 3.7


Name Value
python3-hpack = 3.0.0-3.2


Type URL
Binary Package python3-hpack-3.0.0-3.2.noarch.rpm
Source Package python-hpack-3.0.0-3.2.src.rpm

Install Howto

Install python3-hpack rpm package:

# zypper install python3-hpack




2019-01-02 - Tomá? Chvátal <>
- Skip one more flaky test
- Update url to point to upstream github
2018-12-04 - Matej Cepl <>
- Remove superfluous devel dependency for noarch package
2017-04-22 -
- Update to version 3.0.0
API Changes (Backward Incompatible):
* Removed nghttp2 support. This support had rotted and was
essentially non-functional, so it has now been removed until
someone has time to re-add the support in a functional form.
* Attempts by the encoder to exceed the maximum allowed header
table size via dynamic table size updates (or the absence
thereof) are now forbidden.
API Changes (Backward Compatible):
* Added a new InvalidTableSizeError thrown when the encoder does
not respect the maximum table size set by the user.
* Added a Decoder.max_allowed_table_size field that sets the
maximum allowed size of the decoder header table. See the
documentation for an indication of how this should be used.
* Up to 25% performance improvement decoding HPACK-packed
integers, depending on the platform.
* HPACK now tolerates receiving multiple header table size
changes in sequence, rather than only one.
* HPACK now forbids header table size changes anywhere but first
in a header block, as required by RFC 7541  4.2.
* Other miscellaneous performance improvements.
Version 2.3.0
Security Fixes:
* CVE-2016-6581: HPACK Bomb. This release now enforces a maximum
value of the decompressed size of the header list. This is to
avoid the so-called ?HPACK Bomb? vulnerability, which is caused
when a malicious peer sends a compressed HPACK body that
decompresses to a gigantic header list size.
This also adds a OversizedHeaderListError, which is thrown by
the decode method if the maximum header list size is being
violated. This places the HPACK decoder into a broken state: it
must not be used after this exception is thrown.
This also adds a max_header_list_size to the Decoder object. This
controls the maximum allowable decompressed size of the header
list. By default this is set to 64kB.
- Converted to single-spec
- Enabled tests
2016-05-02 -
- Fixed messy changelog.
2016-04-25 -
- Update to version 2.2.0:
API Changes (Backward Compatible)
* Added HeaderTuple and NeverIndexedHeaderTuple classes that signal
whether a given header field may ever be indexed in HTTP/2 header
* Changed Decoder.decode() to return the newly added HeaderTuple
class and subclass. These objects behave like two-tuples, so this
change does not break working code.
* Improve Huffman decoding speed by 4x using an approach borrowed
from nghttp2.
* Improve HPACK decoding speed by 10% by caching header table sizes.
- Bugfixes since 2.1.1:
* When passing a dictionary or dictionary subclass to Encoder.encode,
HPACK now ensures that HTTP/2 special headers (headers whose names
begin with `:` characters) appear first in the header block.
- Changes in 2.1.0 (2016-02-02)
API Changes (Backward Compatible)
* Added new InvalidTableIndex exception, a subclass of
* Instead of throwing IndexError when encountering invalid encoded
integers HPACK now throws HPACKDecodingError.
* Instead of throwing UnicodeDecodeError when encountering headers
that are not UTF-8 encoded, HPACK now throws HPACKDecodingError.
* Instead of throwing IndexError when encountering invalid table
offsets, HPACK now throws InvalidTableIndex.
* Added raw flag to decode, allowing decode to return bytes instead
of attempting to decode the headers as UTF-8.
* memoryview objects are now used when decoding HPACK, improving
the performance by avoiding unnecessary data copies.

See Also

Package Description
python3-html2text-2018.1.9-2.2.noarch.rpm Python script for turning HTML into Markdown text
python3-html5-parser-0.4.5-2.1.i586.rpm C based HTML 5 parsing for Python
python3-html5-parser-0.4.5-2.1.x86_64.rpm C based HTML 5 parsing for Python
python3-html5lib-1.0.1-2.4.noarch.rpm HTML parser based on the WHAT-WG Web Applications 1
python3-htmlmin-0.1.12-1.2.noarch.rpm An HTML Minifier
python3-httmock-1.3.0-1.1.noarch.rpm A mocking library for requests
python3-http-parser-0.8.3-5.2.i586.rpm HTTP Request/Response Parser for Python in C
python3-http-parser-0.8.3-5.2.x86_64.rpm HTTP Request/Response Parser for Python in C
python3-httpbin-0.7.0+git20181107.f8ec666-1.1.noarch.rpm HTTP Request and Response Service
python3-httpie-1.0.2-1.2.noarch.rpm CLI, cURL-like tool for humans
python3-httplib2-0.10.3-3.3.noarch.rpm A Python HTTP client library
python3-httpretty-0.9.6-1.2.noarch.rpm HTTP client mocking tool for Python
python3-httpsig_cffi-15.0.0-1.1.noarch.rpm Secure HTTP request signing using the HTTP Signature draft specification
python3-humanfriendly-4.18-2.1.noarch.rpm Human friendly input/output for text interfaces using Python
python3-humanhash3-0.0.6-2.2.noarch.rpm Human-readable representations of digests