Skip to content

Commit

Permalink
Try pinning to older urllib3 with http support for https proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed May 24, 2024
1 parent 3c45ab8 commit d49b384
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def run_tests(self):
'pytest',
'pytest-cov',
'httpbin>=0.10.2',
'urllib3>=1.26,<1.27',
'requests',
'wsgiprox',
'hookdns',
Expand Down
2 changes: 1 addition & 1 deletion test/test_capture_http_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def handle_error(self, request, client_address):
addr, cls.port = server.socket.getsockname()

cls.proxies = {
'https': 'https://proxy.com:' + str(cls.port),
'https': 'http://proxy.com:' + str(cls.port),
'http': 'http://proxy.com:' + str(cls.port)
}

Expand Down

0 comments on commit d49b384

Please sign in to comment.