diff --git a/h11-0.7.0.zip b/h11-0.7.0.zip deleted file mode 100644 index c480309..0000000 --- a/h11-0.7.0.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c0fbb1cba6f809fe3e6b27f8f6d517ca171f848922708871403636143d530d9 -size 105979 diff --git a/h11-0.8.1.tar.gz b/h11-0.8.1.tar.gz new file mode 100644 index 0000000..d19a508 --- /dev/null +++ b/h11-0.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:acca6a44cb52a32ab442b1779adf0875c443c689e9e028f8d831a3769f9c5208 +size 94009 diff --git a/python-h11.changes b/python-h11.changes index 46063ae..162f12e 100644 --- a/python-h11.changes +++ b/python-h11.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Tue Dec 4 21:14:53 UTC 2018 - aloisio@gmx.com + +- Update to version 0.8.1 + Bug fixes: + * Always return headers as ``bytes`` objects (`#60 + `__) + Other changes: + * Added proper license notices to the Javascript used in our + documentation (`#61 + `__) + 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 + `__, 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. + ------------------------------------------------------------------- Tue Dec 4 12:49:06 UTC 2018 - Matej Cepl diff --git a/python-h11.spec b/python-h11.spec index ebc6cfc..c055eec 100644 --- a/python-h11.spec +++ b/python-h11.spec @@ -12,23 +12,22 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-h11 -Version: 0.7.0 +Version: 0.8.1 Release: 0 Summary: A pure-Python, bring-your-own-I/O implementation of HTTP/11 License: MIT Group: Development/Languages/Python URL: https://github.com/njsmith/h11 -Source: https://files.pythonhosted.org/packages/source/h/h11/h11-%{version}.zip +Source: https://files.pythonhosted.org/packages/source/h/h11/h11-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: unzip BuildArch: noarch %python_subpackages