Skip to content

Commit

Permalink
Add schemes to proxies
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed May 15, 2024
1 parent 2c810c0 commit 7e2633d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_capture_http_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def handle_error(self, request, client_address):

print(f"cls.port: {cls.port}", flush=True)

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

print(f"cls.proxies: {cls.proxies}", flush=True)
Expand Down

0 comments on commit 7e2633d

Please sign in to comment.