27 Commits

Author SHA256 Message Date
507430381a Accepting request 1272594 from devel:languages:python
- Update 0.16.0:
  * Security fix (CVE-2025-43859, bsc#1241872)
    Reject certain malformed Transfer-Encoding: chunked bodies that
    were previously accepted. These could have enabled
    request-smuggling attacks when an h11-based HTTP server was placed
    behind a load balancer with a matching bug in its chunked
    handling.
    Advisory with more details:
    https://github.com/python-hyper/h11/security/advisories/GHSA-vqfr-h8mv-ghfj
- 0.15.0:
  * Reject Content-Lengths >= 1 zettabyte (1 billion terabytes) early,
    without attempting to parse the integer (#181)

OBS-URL: https://build.opensuse.org/request/show/1272594
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h11?expand=0&rev=13
2025-04-25 20:18:17 +00:00
1b0ed2d4c4 - Update 0.16.0:
* Security fix (CVE-2025-43859, bsc#1241872)
    Reject certain malformed Transfer-Encoding: chunked bodies that
    were previously accepted. These could have enabled
    request-smuggling attacks when an h11-based HTTP server was placed
    behind a load balancer with a matching bug in its chunked
    handling.
    Advisory with more details:
    https://github.com/python-hyper/h11/security/advisories/GHSA-vqfr-h8mv-ghfj
- 0.15.0:
  * Reject Content-Lengths >= 1 zettabyte (1 billion terabytes) early,
    without attempting to parse the integer (#181)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=25
2025-04-25 07:30:03 +00:00
b599dadd22 Accepting request 1144406 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1144406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h11?expand=0&rev=12
2024-02-06 15:33:02 +00:00
7a6d2aa8fb - spec cleanup
- Update to 0.14.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=23
2024-01-29 21:37:01 +00:00
feeb50b5b7 Accepting request 1081902 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h11?expand=0&rev=11
2023-04-22 20:00:39 +00:00
cabb6bc8f7 Accepting request 1081429 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081429
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=21
2023-04-21 14:33:53 +00:00
ce3e29679f Accepting request 1010139 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1010139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h11?expand=0&rev=10
2022-10-14 13:40:25 +00:00
ff4b7b6f83 Accepting request 1009993 from home:yarunachalam:branches:devel:languages:python
- Update to 0.14.0 
  No upstream changelog

OBS-URL: https://build.opensuse.org/request/show/1009993
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=19
2022-10-12 08:35:47 +00:00
6006cb3ede Accepting request 955498 from devel:languages:python
- update to 0.13.0:
  * 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]
  * Ensure request method is a valid token

OBS-URL: https://build.opensuse.org/request/show/955498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h11?expand=0&rev=9
2022-02-18 22:02:35 +00:00
c6e5cb5899 - update to 0.13.0:
* 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]
  * Ensure request method is a valid token

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=18
2022-02-16 23:09:53 +00:00
15d5eca625 Accepting request 869819 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/869819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h11?expand=0&rev=8
2021-02-07 14:21:40 +00:00
eb09e2e62c Accepting request 869818 from home:alois:branches:devel:languages:python
- Update to version to 0.12.0
  * Add early detection of invalid http data when request line
    starts with binary
  * Drop support for Python 2
  * Fix ReST formatting
  * Tuned maybe_extract_next_line to search only \r\n
  * Changed the ReceiveBuffer
  * Speed up maybe_extract_lines and removed unused variables
  * Changed the maybe_extract_lines logic according PR review
  * Small rfg (renamed body_and_headers_delimiter_regex ->
    blank_line_delimiiter_regex) and slightly updated docs
  * Fixed some performance issues
  * Added ability to use LF, not only CRLF delimiter

OBS-URL: https://build.opensuse.org/request/show/869818
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=16
2021-02-05 17:16:52 +00:00
8c0b0d0821 Accepting request 847415 from devel:languages:python
- update to 0.11.0:
  * 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. See `#31
  * 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). See `#92

OBS-URL: https://build.opensuse.org/request/show/847415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h11?expand=0&rev=7
2020-11-10 12:46:36 +00:00
23a1cd08d0 - update to 0.11.0:
* 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. See `#31
  * 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). See `#92

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=14
2020-11-10 08:03:02 +00:00
536407c868 Accepting request 826282 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/826282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h11?expand=0&rev=6
2020-08-14 07:33:31 +00:00
19ec9a2f48 Accepting request 826281 from home:alois:branches:devel:languages:python
- Update to version 0.10.0
  * Drop support for Python 3.4.
  * Support Python 3.8.
  * Make error messages returned by match failures less ambiguous

OBS-URL: https://build.opensuse.org/request/show/826281
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=12
2020-08-13 12:42:55 +00:00
fb55d9bbda Accepting request 800592 from devel:languages:python
- Do not restrict pytest anymore, seems working

OBS-URL: https://build.opensuse.org/request/show/800592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h11?expand=0&rev=5
2020-05-06 09:05:00 +00:00
Tomáš Chvátal
f58702b352 - Do not restrict pytest anymore, seems working
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=10
2020-05-06 07:47:38 +00:00
1d53c72185 Accepting request 725338 from devel:languages:python
- Update to 0.9.0:
  * no changelog
- Restrict pytest5 for now

OBS-URL: https://build.opensuse.org/request/show/725338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h11?expand=0&rev=4
2019-08-23 09:07:48 +00:00
Tomáš Chvátal
1af6d80dee - Update to 0.9.0:
* no changelog
- Restrict pytest5 for now

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=8
2019-08-22 14:18:46 +00:00
6b466a8ae1 Accepting request 707793 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/707793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h11?expand=0&rev=3
2019-06-06 16:17:01 +00:00
Tomáš Chvátal
1432c928a7 Accepting request 707791 from home:pgajdos
- test package in %check

OBS-URL: https://build.opensuse.org/request/show/707791
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=6
2019-06-05 10:21:29 +00:00
967c3b999b Accepting request 654110 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/654110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h11?expand=0&rev=2
2018-12-05 08:46:11 +00:00
61a526f8b1 Accepting request 654109 from home:alois:branches:devel:languages:python
- Update to version 0.8.1
  Bug fixes:
  * Always return headers as ``bytes`` objects (`#60
    <https://github.com/python-hyper/h11/issues/60>`__)
  Other changes:
  * Added proper license notices to the Javascript used in our
    documentation (`#61
    <https://github.com/python-hyper/h11/issues/60>`__)
  version 0.8.0
  Backwards **in**\compatible 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
    <https://tools.ietf.org/html/rfc7231#section-5.1.1>`__, 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.

OBS-URL: https://build.opensuse.org/request/show/654109
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=4
2018-12-04 21:17:10 +00:00
0e4536f0e0 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=3
2018-12-04 13:33:13 +00:00
83e501cf6b Accepting request 580067 from devel:languages:python
- Initial package (version 0.7.0)

OBS-URL: https://build.opensuse.org/request/show/580067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h11?expand=0&rev=1
2018-02-27 15:58:50 +00:00
Tomáš Chvátal
024c1edcdf Accepting request 579955 from home:alois:branches:devel:languages:python
- Initial package (version 0.7.0)

OBS-URL: https://build.opensuse.org/request/show/579955
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=1
2018-02-26 08:31:06 +00:00