From 27eb919afee6bf02eda9a27cb1fe4e1a77f4ce16c57eb8c1ec1f6f8019d76f6e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 14 May 2023 12:37:31 +0000 Subject: [PATCH] - update to 2.0.2: * Fixed ``HTTPResponse.stream()`` to continue yielding bytes if buffered decompressed data was still available to be read even if the underlying socket is closed. This prevents a compressed response from being truncated. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=156 --- python-urllib3.changes | 9 +++++++++ python-urllib3.spec | 2 +- urllib3-2.0.1.tar.gz | 3 --- urllib3-2.0.2.tar.gz | 3 +++ 4 files changed, 13 insertions(+), 4 deletions(-) delete mode 100644 urllib3-2.0.1.tar.gz create mode 100644 urllib3-2.0.2.tar.gz diff --git a/python-urllib3.changes b/python-urllib3.changes index f91cfd9..6b2d604 100644 --- a/python-urllib3.changes +++ b/python-urllib3.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun May 14 12:37:09 UTC 2023 - Dirk Müller + +- update to 2.0.2: + * Fixed ``HTTPResponse.stream()`` to continue yielding bytes if + buffered decompressed data was still available to be read + even if the underlying socket is closed. This prevents + a compressed response from being truncated. + ------------------------------------------------------------------- Wed May 10 07:26:42 UTC 2023 - Steve Kowalik diff --git a/python-urllib3.spec b/python-urllib3.spec index 3362e61..315af17 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -26,7 +26,7 @@ %endif %{?sle15_python_module_pythons} Name: python-urllib3%{psuffix} -Version: 2.0.1 +Version: 2.0.2 Release: 0 Summary: HTTP library with thread-safe connection pooling, file post, and more License: MIT diff --git a/urllib3-2.0.1.tar.gz b/urllib3-2.0.1.tar.gz deleted file mode 100644 index b70bd05..0000000 --- a/urllib3-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2ce66a68134be469f5df5d46d724237489b3cd85b2bba2223dbbee1746548826 -size 277241 diff --git a/urllib3-2.0.2.tar.gz b/urllib3-2.0.2.tar.gz new file mode 100644 index 0000000..6febde8 --- /dev/null +++ b/urllib3-2.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61717a1095d7e155cdb737ac7bb2f4324a858a1e2e6466f6d03ff630ca68d3cc +size 277703