pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-h11
Module Name: pkgsrc
Committed By: adam
Date: Mon Apr 9 10:50:22 UTC 2018
Modified Files:
pkgsrc/www/py-h11: Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-h11/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/py-h11/PLIST pkgsrc/www/py-h11/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-h11/Makefile
diff -u pkgsrc/www/py-h11/Makefile:1.2 pkgsrc/www/py-h11/Makefile:1.3
--- pkgsrc/www/py-h11/Makefile:1.2 Tue Feb 27 06:58:28 2018
+++ pkgsrc/www/py-h11/Makefile Mon Apr 9 10:50:22 2018
@@ -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@localhost
HOMEPAGE= https://github.com/njsmith/h11
Index: pkgsrc/www/py-h11/PLIST
diff -u pkgsrc/www/py-h11/PLIST:1.1 pkgsrc/www/py-h11/PLIST:1.2
--- pkgsrc/www/py-h11/PLIST:1.1 Mon Feb 26 12:06:13 2018
+++ pkgsrc/www/py-h11/PLIST Mon Apr 9 10:50:22 2018
@@ -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.tx
${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
Index: pkgsrc/www/py-h11/distinfo
diff -u pkgsrc/www/py-h11/distinfo:1.1 pkgsrc/www/py-h11/distinfo:1.2
--- pkgsrc/www/py-h11/distinfo:1.1 Mon Feb 26 12:06:13 2018
+++ pkgsrc/www/py-h11/distinfo Mon Apr 9 10:50:22 2018
@@ -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
Home |
Main Index |
Thread Index |
Old Index