Skip to content

Commit 9d9fa46

Browse files
committed
Update argument processing for modern requests
Requests now passes around an ssl_context, at least some of the time.
1 parent 0de0ebe commit 9d9fa46

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Supported Libaries
1414
==================
1515

1616
``wsgi_intercept`` works with a variety of HTTP clients in Python 2.7,
17-
3.5 and beyond, and in pypy.
17+
3.7 and beyond, and in pypy.
1818

1919
* urllib2
2020
* urllib.request

wsgi_intercept/_urllib3.py

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def __init__(self, *args, **kwargs):
3030
kwargs.pop('socket_options', None)
3131
kwargs.pop('key_password', None)
3232
kwargs.pop('server_hostname', None)
33+
kwargs.pop('ssl_context', None)
3334
if sys.version_info > (3, 12):
3435
kwargs.pop('key_file', None)
3536
kwargs.pop('cert_file', None)

0 commit comments

Comments
 (0)