From 3c45ab8da51873969baa401409e7532c301eb726 Mon Sep 17 00:00:00 2001 From: Tessa Walsh Date: Fri, 24 May 2024 13:48:56 -0400 Subject: [PATCH] Use prefix according to key --- test/test_capture_http_proxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_capture_http_proxy.py b/test/test_capture_http_proxy.py index 03a2fd4e..bdb8ae87 100644 --- a/test/test_capture_http_proxy.py +++ b/test/test_capture_http_proxy.py @@ -32,8 +32,8 @@ def handle_error(self, request, client_address): addr, cls.port = server.socket.getsockname() cls.proxies = { - 'https': 'proxy.com:' + str(cls.port), - 'http': 'proxy.com:' + str(cls.port) + 'https': 'https://proxy.com:' + str(cls.port), + 'http': 'http://proxy.com:' + str(cls.port) } def run():