Remove unused `proxy_via` in `infection_monkey/transport/http.py`

This commit is contained in:
Shreya 2021-05-06 14:02:32 +05:30
parent 3a346b5112
commit 962e785134
1 changed files with 0 additions and 3 deletions

View File

@ -115,9 +115,6 @@ class FileServHTTPRequestHandler(http.server.BaseHTTPRequestHandler):
class HTTPConnectProxyHandler(http.server.BaseHTTPRequestHandler):
timeout = 30 # timeout with clients, set to None not to make persistent connection
proxy_via = (
None # pseudonym of the proxy in Via header, set to None not to modify original Via header
)
def do_POST(self):
try: