head 1.13; access; symbols pkgsrc-2023Q4:1.13.0.4 pkgsrc-2023Q4-base:1.13 pkgsrc-2023Q3:1.13.0.2 pkgsrc-2023Q3-base:1.13 pkgsrc-2023Q2:1.12.0.2 pkgsrc-2023Q2-base:1.12 pkgsrc-2023Q1:1.11.0.4 pkgsrc-2023Q1-base:1.11 pkgsrc-2022Q4:1.11.0.2 pkgsrc-2022Q4-base:1.11 pkgsrc-2022Q3:1.10.0.6 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.10.0.4 pkgsrc-2022Q2-base:1.10 pkgsrc-2022Q1:1.10.0.2 pkgsrc-2022Q1-base:1.10 pkgsrc-2021Q4:1.8.0.8 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.8.0.6 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.8.0.4 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.2 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.7.0.2 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.6.0.2 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.5.0.10 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.6 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.8 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.4 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.2 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.4.0.8 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.6 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.4 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.2 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.2.0.2 pkgsrc-2018Q1-base:1.2; locks; strict; comment @# @; 1.13 date 2023.07.30.15.32.50; author adam; state Exp; branches; next 1.12; commitid SIXcZSzMn5vWaQyE; 1.12 date 2023.03.29.09.34.15; author wiz; state Exp; branches; next 1.11; commitid dE79P0WicMkX80jE; 1.11 date 2022.10.18.08.50.08; author adam; state Exp; branches; next 1.10; commitid pfleQSO1apaz6bYD; 1.10 date 2022.01.24.14.27.04; author adam; state Exp; branches; next 1.9; commitid Xn4hc7kakLgiyTpD; 1.9 date 2022.01.04.20.55.29; author wiz; state Exp; branches; next 1.8; commitid CYyhdK9qtoffkmnD; 1.8 date 2021.01.15.13.02.08; author adam; state Exp; branches; next 1.7; commitid nzLz99x5Xruy6PDC; 1.7 date 2020.10.06.05.36.36; author adam; state Exp; branches; next 1.6; commitid 6GZhZn9xaJ2XSNqC; 1.6 date 2020.08.26.11.32.43; author adam; state Exp; branches; next 1.5; commitid xIerIHZgVtsUazlC; 1.5 date 2019.05.31.17.37.17; author adam; state Exp; branches; next 1.4; commitid 3HlSujmJr9QCKnpB; 1.4 date 2018.05.14.08.05.12; author adam; state Exp; branches; next 1.3; commitid 0ex7BdzWOvkKReCA; 1.3 date 2018.04.09.10.50.22; author adam; state Exp; branches; next 1.2; commitid JtukB2VkdIm6UKxA; 1.2 date 2018.02.27.06.58.28; author adam; state Exp; branches; next 1.1; commitid tzGb9qpaVltrWssA; 1.1 date 2018.02.26.12.06.13; author leot; state Exp; branches; next ; commitid Korg6IinRqnLFmsA; desc @@ 1.13 log @Remove dependencies for Python 3.7 @ text @# $NetBSD: Makefile,v 1.12 2023/03/29 09:34:15 wiz Exp $ DISTNAME= h11-0.14.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=h/h11/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/python-hyper/h11 COMMENT= Pure-Python, bring-your-own-I/O implementation of HTTP/1.1 LICENSE= mit USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" @ 1.12 log @*: use PYTHON_VERSION instead of _PYTHON_VERSION @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2022/10/18 08:50:08 adam Exp $ a16 6 .include "../../lang/python/pyversion.mk" .if ${PYTHON_VERSION} < 308 DEPENDS+= ${PYPKGPREFIX}-typing-extensions>0:../../devel/py-typing-extensions .endif @ 1.11 log @py-h11: updated to 0.14.0 H11 0.14.0 (2022-09-25) ----------------------- Features - Allow additional trailing whitespace in chunk headers for additional compatibility with existing servers. - Improve the type hints for Sentinel types, which should make it easier to type hint h11 usage. Deprecations and Removals - Python 3.6 support is removed. h11 now requires Python>=3.7 including PyPy 3. Users running `pip install h11` on Python 2 will automatically get the last Python 2-compatible version. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2022/01/24 14:27:04 adam Exp $ d18 2 a19 1 .if ${_PYTHON_VERSION} < 38 @ 1.10 log @py-h11: updated to 0.13.0 v0.13.0 (2022-01-19) Features - Clarify that the Headers class is a Sequence and inherit from the collections Sequence abstract base class to also indicate this (and gain the mixin methods). - Switch event classes to dataclasses for easier typing and slightly improved performance. - Shorten traceback of protocol errors for easier readability - Add typing including a PEP 561 marker for usage by type checkers - Expand the allowed status codes to [0, 999] from [0, 600] Backwards **in**\compatible changes - Ensure request method is a valid token @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2022/01/04 20:55:29 wiz Exp $ d3 1 a3 1 DISTNAME= h11-0.13.0 @ 1.9 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2021/01/15 13:02:08 adam Exp $ d3 1 a3 1 DISTNAME= h11-0.12.0 a4 1 PKGREVISION= 1 d17 5 @ 1.8 log @py-h11: updated to 0.12.0 v0.12.0 Features Added support for servers with broken line endings. After this change h11 accepts both \r\n and \n as a headers delimiter. Add early detection of invalid http data when request line starts with binary Deprecations and Removals Python 2.7 and PyPy 2 support is removed. h11 now requires Python>=3.6 including PyPy 3. Users running pip install h11 on Python 2 will automatically get the last Python 2-compatible version. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2020/10/06 05:36:36 adam Exp $ d5 1 @ 1.7 log @py-h11: updated to 0.11.0 v0.11.0 New features: * h11 now stores and makes available the raw header name as received. In addition h11 will write out header names with the same casing as passed to it. This allows compatibility with systems that expect titlecased header names. * Multiple content length headers are now merged into a single header if all the values are equal, if any are unequal a LocalProtocol error is raised (as before). Backwards **in**\compatible changes: * Headers added by h11, rather than passed to it, now have titlecased names. Whilst this should help compatibility it replaces the previous lowercased header names. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2020/08/26 11:32:43 adam Exp $ d3 1 a3 1 DISTNAME= h11-0.11.0 d15 2 @ 1.6 log @py-h11: updated to 0.10.0 v0.10.0: Drop support for Python 3.4. Support Python 3.8. Make error messages returned by match failures less ambiguous @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2019/05/31 17:37:17 adam Exp $ d3 1 a3 1 DISTNAME= h11-0.10.0 @ 1.5 log @py-h11: updated to 0.9.0 v0.9.0: Bug fixes: * Allow a broader range of characters in header values. This violates the RFC, but is apparently required for compatibility with real-world code, like Google Analytics cookies * Validate incoming and outgoing request paths for invalid characters. This prevents a variety of potential security issues that have affected other HTTP clients. * Force status codes to be integers, thereby allowing stdlib HTTPStatus IntEnums to be used when constructing responses Other changes: * Make all sentinel values inspectable by IDEs, and split SEND_BODY_DONE into SEND_BODY, and DONE * Drop support for Python 3.3. * LocalProtocolError raised in start_next_cycle now shows states for more informative errors @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2018/05/14 08:05:12 adam Exp $ d3 1 a3 1 DISTNAME= h11-0.9.0 d9 1 a9 1 HOMEPAGE= https://github.com/njsmith/h11 @ 1.4 log @py-h11: updated to 0.8.1 v0.8.1: Bug fixes: * Always return headers as bytes objects Other changes: * Added proper license notices to the Javascript used in our documentation @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2018/04/09 10:50:22 adam Exp $ d3 1 a3 1 DISTNAME= h11-0.8.1 @ 1.3 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2018/02/27 06:58:28 adam Exp $ d3 1 a3 1 DISTNAME= h11-0.8.0 @ 1.2 log @Added "python" to CATEGORIES @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2018/02/26 12:06:13 leot Exp $ d3 1 a3 1 DISTNAME= h11-0.7.0 a6 1 EXTRACT_SUFX= .zip @ 1.1 log @py-h11: Import py-h11-0.7.0 as www/py-h11 This is a little HTTP/1.1 library written from scratch in Python, heavily inspired by hyper-h2. It's a "bring-your-own-I/O" library; h11 contains no IO code whatsoever. This means you can hook h11 up to your favorite network API, and that could be anything you want: synchronous, threaded, asynchronous, or your own implementation of RFC 6214 - h11 won't judge you. (Compare this to the current state of the art, where every time a new network API comes along then someone gets to start over reimplementing the entire HTTP protocol from scratch.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2017/06/21 09:57:57 adam Exp $ d5 1 a5 1 CATEGORIES= www @