summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules/python-urllib3/tornado-4.3.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-10-04 14:05:23 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-10-04 14:05:23 (GMT)
commitfbd64649b17ae4b654cf07f02bfdf3b4d90d3ab4 (patch)
tree3f11bbe8d17ad8e60cc15e69155e334c1b839aac /abs/core/python_modules/python-urllib3/tornado-4.3.patch
parentbe518c70dffc2159e0022e4788ce7a0aca82d4ae (diff)
downloadlinhes_pkgbuild-fbd64649b17ae4b654cf07f02bfdf3b4d90d3ab4.zip
linhes_pkgbuild-fbd64649b17ae4b654cf07f02bfdf3b4d90d3ab4.tar.gz
linhes_pkgbuild-fbd64649b17ae4b654cf07f02bfdf3b4d90d3ab4.tar.bz2
python-urllib3: update to 1.25.10
Diffstat (limited to 'abs/core/python_modules/python-urllib3/tornado-4.3.patch')
-rw-r--r--abs/core/python_modules/python-urllib3/tornado-4.3.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/abs/core/python_modules/python-urllib3/tornado-4.3.patch b/abs/core/python_modules/python-urllib3/tornado-4.3.patch
deleted file mode 100644
index 7f4a669..0000000
--- a/abs/core/python_modules/python-urllib3/tornado-4.3.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 39eebb652db570cf51994f404da3dd91c8a9f4cc Mon Sep 17 00:00:00 2001
-From: Felix Yan <felixonmars@archlinux.org>
-Date: Fri, 21 Jul 2017 23:25:35 +0800
-Subject: [PATCH] Fix compatibility with tornado 4.3+
-
-`HTTPHeaders` is not JSON serializable, so make it a dict first.
----
- dummyserver/handlers.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/dummyserver/handlers.py b/dummyserver/handlers.py
-index a943b836b..b91fe7215 100644
---- a/dummyserver/handlers.py
-+++ b/dummyserver/handlers.py
-@@ -225,7 +225,7 @@ def encodingrequest(self, request):
- return Response(data, headers=headers)
-
- def headers(self, request):
-- return Response(json.dumps(request.headers))
-+ return Response(json.dumps(dict(request.headers)))
-
- def successful_retry(self, request):
- """ Handler which will return an error and then success