Small style improvement, disabled explicit http 1.1

This commit is contained in:
VakarisZ 2020-01-28 19:04:30 +02:00
parent d349f2628c
commit 04c09b50d2
2 changed files with 1 additions and 3 deletions

View File

@ -110,7 +110,7 @@ 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
protocol_version = "HTTP/1.1"
#protocol_version = "HTTP/1.1"
def do_POST(self):
content_length = int(self.headers['Content-Length']) # <--- Gets the size of data

View File

@ -1,8 +1,6 @@
import flask_restful
from flask import request, make_response
from monkey_island.cc.services.node import NodeService
WINDOWS_VERSIONS = {
"5.0": "Windows 2000",
"5.1": "Windows XP",