pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkgsrc: py-h11: updated to 0.8.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/ed066a3435ca
branches: trunk
changeset: 306056:ed066a3435ca
user: adam <adam%pkgsrc.org@localhost>
date: Mon Apr 09 10:50:22 2018 +0000
description:
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:
www/py-h11/Makefile | 5 ++---
www/py-h11/PLIST | 5 ++++-
www/py-h11/distinfo | 10 +++++-----
3 files changed, 11 insertions(+), 9 deletions(-)
diffs (50 lines):
diff -r 44174c59ff96 -r ed066a3435ca www/py-h11/Makefile
--- a/www/py-h11/Makefile Mon Apr 09 10:24:20 2018 +0000
+++ b/www/py-h11/Makefile Mon Apr 09 10:50:22 2018 +0000
@@ -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
diff -r 44174c59ff96 -r ed066a3435ca www/py-h11/PLIST
--- a/www/py-h11/PLIST Mon Apr 09 10:24:20 2018 +0000
+++ b/www/py-h11/PLIST Mon Apr 09 10:50:22 2018 +0000
@@ -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}/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 -r 44174c59ff96 -r ed066a3435ca www/py-h11/distinfo
--- a/www/py-h11/distinfo Mon Apr 09 10:24:20 2018 +0000
+++ b/www/py-h11/distinfo Mon Apr 09 10:50:22 2018 +0000
@@ -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