Spaces:
Paused
Paused
Update proxy.py
Browse files
proxy.py
CHANGED
@@ -18,7 +18,6 @@ class ProxyRequestHandler(http.server.SimpleHTTPRequestHandler):
|
|
18 |
conn = http.client.HTTPConnection('localhost', PROXY_PORT)
|
19 |
conn.request('GET', url, headers=headers)
|
20 |
response = conn.getresponse()
|
21 |
-
# Send the proxy response back to the client
|
22 |
self.send_response(response.status)
|
23 |
for header, value in response.getheaders():
|
24 |
self.send_header(header, value)
|
|
|
18 |
conn = http.client.HTTPConnection('localhost', PROXY_PORT)
|
19 |
conn.request('GET', url, headers=headers)
|
20 |
response = conn.getresponse()
|
|
|
21 |
self.send_response(response.status)
|
22 |
for header, value in response.getheaders():
|
23 |
self.send_header(header, value)
|