From 962e7851345a1e7baba302e9310144a3b223c60e Mon Sep 17 00:00:00 2001 From: Shreya Date: Thu, 6 May 2021 14:02:32 +0530 Subject: [PATCH] Remove unused `proxy_via` in `infection_monkey/transport/http.py` --- monkey/infection_monkey/transport/http.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/monkey/infection_monkey/transport/http.py b/monkey/infection_monkey/transport/http.py index fbddce109..ec1518c70 100644 --- a/monkey/infection_monkey/transport/http.py +++ b/monkey/infection_monkey/transport/http.py @@ -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: