Bug fix (--chunked failing on TravisCI)

This commit is contained in:
Miroslav Stampar
2021-01-31 14:00:44 +01:00
parent 807d38688f
commit 08349138ec
2 changed files with 2 additions and 2 deletions

View File

@@ -2477,7 +2477,7 @@ def _setTorSocksProxySettings():
def _setHttpChunked():
if conf.chunked and conf.data:
_http_client.HTTPConnection._set_content_length = lambda self, a, b: None
_http_client.HTTPConnection._set_content_length = lambda self, body: None
def _checkWebSocket():
if conf.url and (conf.url.startswith("ws:/") or conf.url.startswith("wss:/")):