11 Commits

Author SHA256 Message Date
90500dfb32 - 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
57b390e17b 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
a1c519aa6f - 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
1cb07bfa53 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
Tomáš Chvátal
092c03d4fc - 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
Tomáš Chvátal
a074c55868 - 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
Tomáš Chvátal
02bcd0b504 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
8d4147affc 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
3ede027e7c 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
d55d7a665b 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
75a22d1bbc 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