15
0
forked from pool/python-httpx

- Add transfer-encoding-lower-case.patch to fix failing tests due

to incorrect capitalization of the 'transfer-encoding' header
  (gh#encode/httpx!1735).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpx?expand=0&rev=11
This commit is contained in:
2022-08-05 08:32:11 +00:00
committed by Git OBS Bridge
parent a2e02c72aa
commit 4059d2647e
3 changed files with 95 additions and 0 deletions

View File

@@ -32,6 +32,10 @@ Summary: Python HTTP client with async support
License: BSD-3-Clause
URL: https://github.com/encode/httpx
Source: https://github.com/encode/httpx/archive/%{version}.tar.gz#/httpx-%{version}.tar.gz
# PATCH-FIX-UPSTREAM transfer-encoding-lower-case.patch mcepl@suse.com
# Reported upstream as gh#encode/httpx!2332
# name of HTTP headers are lower-case
Patch0: transfer-encoding-lower-case.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes