mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Another patch for #4576
This commit is contained in:
@@ -2484,7 +2484,9 @@ def _setHttpChunked():
|
||||
if header != HTTP_HEADER.CONTENT_LENGTH:
|
||||
self._putheader(header, *values)
|
||||
|
||||
_http_client.HTTPConnection._putheader = _http_client.HTTPConnection.putheader
|
||||
if not hasattr(_http_client.HTTPConnection, "_putheader"):
|
||||
_http_client.HTTPConnection._putheader = _http_client.HTTPConnection.putheader
|
||||
|
||||
_http_client.HTTPConnection.putheader = putheader
|
||||
|
||||
def _checkWebSocket():
|
||||
|
||||
Reference in New Issue
Block a user