Accepting request 393287 from home:ocfreitag:branches:devel:languages:python

- Fixed messy changelog. 

- 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
    compression.
  * 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.
  Bugfixes
  * 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 
    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.

OBS-URL: https://build.opensuse.org/request/show/393287
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hpack?expand=0&rev=3
This commit is contained in:
Dirk Mueller 2016-05-06 07:13:44 +00:00 committed by Git OBS Bridge
parent 825a285086
commit f85a8842cf
4 changed files with 46 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d7eaafeecfb60c18cbfd1c8ffb032bca4524862d0d89540e8a62d5118529ccc
size 18869

3
hpack-2.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f2917b3f003c7c76c1aa17e89c1fc27a80d2175d6283131890253609f5f370ef
size 40256

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Mon May 2 12:00:12 UTC 2016 - freitag@owncloud.com
- Fixed messy changelog.
-------------------------------------------------------------------
Mon Apr 25 11:16:50 UTC 2016 - freitag@owncloud.com
- 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
compression.
* 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.
Bugfixes
* 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
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.
-------------------------------------------------------------------
Wed Jan 6 19:43:13 UTC 2016 - freitag@opensuse.org

View File

@ -17,7 +17,7 @@
Name: python-hpack
Version: 2.0.1
Version: 2.2.0
Release: 0
Summary: Pure-Python HPACK header compression
License: MIT