Package: python-wsgi-intercept / 1.13.1-2

Metadata

Package Version Patches format
python-wsgi-intercept 1.13.1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
support urllib3 2.x_1.patch | (download)

setup.py | 8 2 + 6 - 0 !
tox.ini | 4 2 + 2 - 0 !
wsgi_intercept/__init__.py | 27 9 + 18 - 0 !
wsgi_intercept/_urllib3.py | 34 24 + 10 - 0 !
wsgi_intercept/interceptor.py | 2 1 + 1 - 0 !
wsgi_intercept/tests/test_interceptor.py | 10 3 + 7 - 0 !
wsgi_intercept/tests/test_response_headers.py | 6 1 + 5 - 0 !
wsgi_intercept/urllib3_intercept.py | 3 0 + 3 - 0 !
8 files changed, 42 insertions(+), 52 deletions(-)

 [patch 1/6] get rid of six and python 2


support urllib3 2.x_2.patch | (download)

setup.py | 2 1 + 1 - 0 !
wsgi_intercept/__init__.py | 5 5 + 0 - 0 !
wsgi_intercept/_urllib3.py | 10 8 + 2 - 0 !
wsgi_intercept/tests/test_urllib3.py | 2 1 + 1 - 0 !
4 files changed, 15 insertions(+), 4 deletions(-)

 [patch 2/6] for sharing testing


support urllib3 2.x_3.patch | (download)

wsgi_intercept/__init__.py | 20 17 + 3 - 0 !
wsgi_intercept/_urllib3.py | 10 2 + 8 - 0 !
2 files changed, 19 insertions(+), 11 deletions(-)

 [patch 3/6] play around with arg manipulation


support urllib3 2.x_4.patch | (download)

wsgi_intercept/__init__.py | 30 21 + 9 - 0 !
wsgi_intercept/_urllib3.py | 2 2 + 0 - 0 !
2 files changed, 23 insertions(+), 9 deletions(-)

 [patch 4/6] correct ssl handling for urllib3 based things

It seems that we need to replicate some ssl context
handling done in urllib3 as we are routing around
some of that by using wsgi-intercept, even when
not actively intercepting a host.

support urllib3 2.x_5.patch | (download)

wsgi_intercept/__init__.py | 21 7 + 14 - 0 !
wsgi_intercept/http_client_intercept.py | 19 5 + 14 - 0 !
wsgi_intercept/tests/test_http_client.py | 5 1 + 4 - 0 !
wsgi_intercept/tests/test_urllib.py | 5 1 + 4 - 0 !
wsgi_intercept/tests/test_urllib3.py | 2 1 + 1 - 0 !
wsgi_intercept/tests/test_wsgi_compliance.py | 5 1 + 4 - 0 !
wsgi_intercept/tests/wsgi_app.py | 5 0 + 5 - 0 !
wsgi_intercept/urllib_intercept.py | 5 1 + 4 - 0 !
8 files changed, 17 insertions(+), 50 deletions(-)

 [patch 5/6] pep8 and readme fixes


support urllib3 2.x_6.patch | (download)

wsgi_intercept/_urllib3.py | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 [patch 6/6] extraneous print removal


pop ssl context.patch | (download)

wsgi_intercept/_urllib3.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 pop ssl_context