Patch for --null-connection (drei)

This commit is contained in:
Miroslav Stampar
2019-05-07 23:10:02 +02:00
parent 285482b396
commit bc88903699
2 changed files with 1 additions and 2 deletions

View File

@@ -455,7 +455,6 @@ class Connect(object):
logger.log(CUSTOM_LOGGING.TRAFFIC_OUT, requestMsg)
else:
if method and method not in (HTTPMETHOD.GET, HTTPMETHOD.POST):
method = getBytes(method)
req = MethodRequest(url, post, headers)
req.set_method(method)
elif url is not None: