diff options
author | adam <adam@pkgsrc.org> | 2018-04-09 10:50:22 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-04-09 10:50:22 +0000 |
commit | 15b2847e95377e8dbbe9e5afdbaae6625a04cb13 (patch) | |
tree | 60b8b2106b8e4875d435bd3fd02d0747774c1a1a /www/py-h11 | |
parent | 9a57b0fccc759c8605e336a6e8b3b210c1b41267 (diff) | |
download | pkgsrc-15b2847e95377e8dbbe9e5afdbaae6625a04cb13.tar.gz |
py-h11: updated to 0.8.0
v0.8.0:
Backwards incompatible changes:
h11 now performs stricter validation on outgoing header names and header values: illegal characters are now rejected (example: you can't put a newline into an HTTP header), and header values with leading/trailing whitespace are also rejected (previously h11 would silently discard the whitespace). All these checks were already performed on incoming headers; this just extends that to outgoing headers.
New features:
New method :meth:Connection.send_failed, to notify a :class:Connection object when data returned from :meth:Connection.send was not sent.
Bug fixes:
Make sure that when computing the framing headers for HEAD responses, we produce the same results as we would for the corresponding GET.
Error out if a request has multiple Host: headers.
Send the Host: header first, as recommended by RFC 7230.
The Expect: header is case-insensitive, so use case-insensitive matching when looking for 100-continue.
Other changes:
Better error messages in several cases.
Provide correct error_status_hint in exception raised when encountering an invalid Transfer-Encoding header.
For better compatibility with broken servers, h11 now tolerates responses where the reason phrase is missing (not just empty).
Various optimizations and documentation improvements.
Diffstat (limited to 'www/py-h11')
-rw-r--r-- | www/py-h11/Makefile | 5 | ||||
-rw-r--r-- | www/py-h11/PLIST | 5 | ||||
-rw-r--r-- | www/py-h11/distinfo | 10 |
3 files changed, 11 insertions, 9 deletions
diff --git a/www/py-h11/Makefile b/www/py-h11/Makefile index 6a1b90bd646..eb982f8d8a7 100644 --- a/www/py-h11/Makefile +++ b/www/py-h11/Makefile @@ -1,10 +1,9 @@ -# $NetBSD: Makefile,v 1.2 2018/02/27 06:58:28 adam Exp $ +# $NetBSD: Makefile,v 1.3 2018/04/09 10:50:22 adam Exp $ -DISTNAME= h11-0.7.0 +DISTNAME= h11-0.8.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=h/h11/} -EXTRACT_SUFX= .zip MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/njsmith/h11 diff --git a/www/py-h11/PLIST b/www/py-h11/PLIST index 4b93feec6ef..4beb41a0879 100644 --- a/www/py-h11/PLIST +++ b/www/py-h11/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2018/02/26 12:06:13 leot Exp $ +@comment $NetBSD: PLIST,v 1.2 2018/04/09 10:50:22 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -6,6 +6,9 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.txt ${PYSITELIB}/h11/__init__.py ${PYSITELIB}/h11/__init__.pyc ${PYSITELIB}/h11/__init__.pyo +${PYSITELIB}/h11/_abnf.py +${PYSITELIB}/h11/_abnf.pyc +${PYSITELIB}/h11/_abnf.pyo ${PYSITELIB}/h11/_connection.py ${PYSITELIB}/h11/_connection.pyc ${PYSITELIB}/h11/_connection.pyo diff --git a/www/py-h11/distinfo b/www/py-h11/distinfo index 18f0ba21ad4..479a456b9a0 100644 --- a/www/py-h11/distinfo +++ b/www/py-h11/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2018/02/26 12:06:13 leot Exp $ +$NetBSD: distinfo,v 1.2 2018/04/09 10:50:22 adam Exp $ -SHA1 (h11-0.7.0.zip) = 82dda1ecde1d8c2e5056fe329c177a8a62d13772 -RMD160 (h11-0.7.0.zip) = 549b548f195333573f7b3a6f4157af33303b0b27 -SHA512 (h11-0.7.0.zip) = abf9b8f7f12870804539049c3bfebbbe476e394636aed9967aa725d501fff983f28c7f14b4b882c17914d00fe3e74417ff8922128d0e4e07bf042a7db6d0b100 -Size (h11-0.7.0.zip) = 105979 bytes +SHA1 (h11-0.8.0.tar.gz) = 2c4ef9c92e02263899eeeb4cc658b5b084ba7457 +RMD160 (h11-0.8.0.tar.gz) = 78f16e2bd68f97165cc07b43bc32bef9f74a5eb6 +SHA512 (h11-0.8.0.tar.gz) = edd440dd74c03ce4fb7fd9e6b88e7c9550eb7c50b70676b506a8dafaf1469d9830de01300536128f0e7c61ae09d5256d15875dd5e6a9b99b89470bf70ee343b8 +Size (h11-0.8.0.tar.gz) = 92722 bytes |