diff options
author | leot <leot> | 2016-02-16 13:43:09 +0000 |
---|---|---|
committer | leot <leot> | 2016-02-16 13:43:09 +0000 |
commit | 96c78340a0327823a5ee5a181a3c0343797b686d (patch) | |
tree | 8600662ee905f36384dd89471b1caa57a89d4d72 | |
parent | dd661a011f002555ec4d1f9688b310a005cf0575 (diff) | |
download | pkgsrc-96c78340a0327823a5ee5a181a3c0343797b686d.tar.gz |
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.
-rw-r--r-- | net/py-hpack/Makefile | 4 | ||||
-rw-r--r-- | net/py-hpack/distinfo | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/net/py-hpack/Makefile b/net/py-hpack/Makefile index ee5fabb77cb..3cc7d55d318 100644 --- a/net/py-hpack/Makefile +++ b/net/py-hpack/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.2 2015/12/30 14:59:02 leot Exp $ +# $NetBSD: Makefile,v 1.3 2016/02/16 13:43:09 leot Exp $ -DISTNAME= hpack-2.0.1 +DISTNAME= hpack-2.1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= net MASTER_SITES= ${MASTER_SITE_PYPI} diff --git a/net/py-hpack/distinfo b/net/py-hpack/distinfo index 57b6351fb70..5fdd330a4f7 100644 --- a/net/py-hpack/distinfo +++ b/net/py-hpack/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2015/12/30 14:59:02 leot Exp $ +$NetBSD: distinfo,v 1.4 2016/02/16 13:43:09 leot Exp $ -SHA1 (hpack-2.0.1.tar.gz) = fb933495209514e974354cf5d97df808eb0d698b -RMD160 (hpack-2.0.1.tar.gz) = b9d3b1624d3904bc86bfec5fd8b6c81ceb599088 -SHA512 (hpack-2.0.1.tar.gz) = 244325adf7af287f23aef818309e55009dc481edddabe8b516fb8cd69ac95e6092469358d349af50881de56774d673f70a9e4d5826b5a3db96f0350825a80e67 -Size (hpack-2.0.1.tar.gz) = 18869 bytes +SHA1 (hpack-2.1.0.tar.gz) = 0b27281e0e135bb910653fe81b94ec0071cf9104 +RMD160 (hpack-2.1.0.tar.gz) = 01674159d5adfdd9e294c50def4e5a7803d1f404 +SHA512 (hpack-2.1.0.tar.gz) = 07196e3f1e62dd63adc5411fa0f84fe9b668df453aa38e570ee0b80eb8159f37d584dd3103a849ac9ffce1692d21c778cb896d688035ef62d9d8e7dcd8f3bef4 +Size (hpack-2.1.0.tar.gz) = 20032 bytes |