Commit graph

4 commits

Author SHA1 Message Date
wiz
5690dde468 Fix MASTER_SITES. 2016-06-01 12:30:45 +00:00
leot
190b51695d Update net/py-hpack to 2.1.0.
Changes:
2.1.0 (2016-02-02)
------------------
**API Changes (Backward Compatible)**
- Added new ``InvalidTableIndex`` exception, a subclass of
  ``HPACKDecodingError``.
- 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.

**Bugfixes**
- ``memoryview`` objects are now used when decoding HPACK, improving the
  performance by avoiding unnecessary data copies.
2016-02-16 13:43:09 +00:00
leot
60fd659525 Update net/py-hpack to 2.0.1.
Changes:
2.0.1 (2015-11-09)
------------------
Fixed a bug where the Python HPACK implementation would only emit header table
size changes for the total change between one header block and another, rather
than for the entire sequence of changes.

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.
2015-12-30 14:59:02 +00:00
leot
61676794a8 Import net/py-hpack as py-hpack-1.1.0 (needed to update net/mitmproxy).
ok bsiegert@.

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.
2015-08-23 14:06:11 +00:00