code formatting

This commit is contained in:
Massinissa Merouani
2025-02-11 17:26:34 +04:00
committed by GitHub
parent b72737377f
commit 6b80d9db78

View File

@@ -76,7 +76,7 @@ def main():
if key.lower() not in ['content-length', 'transfer-encoding', 'content-encoding']:
self.send_header(key, value)
self.end_headers()
try:
# Read the full content to avoid chunking issues
content = response.content
@@ -85,7 +85,6 @@ def main():
except BrokenPipeError:
pass
def do_HEAD(self):
self.log_request()
self.proxy()