mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-26 00:30:38 +03:00
fix
This commit is contained in:
parent
77691b8e16
commit
d56cc09fb7
|
@ -315,8 +315,13 @@ class HTTPConnection(httplib.HTTPConnection):
|
|||
else:
|
||||
raise CannotSendHeader()
|
||||
|
||||
for header in ['Host', 'Accept-Encoding']:
|
||||
if header in self._headers:
|
||||
str = '%s: %s' % (header, self._headers[header])
|
||||
self._output(str)
|
||||
del self._headers[header]
|
||||
|
||||
for header, value in self._headers.items():
|
||||
print header, value
|
||||
str = '%s: %s' % (header, value)
|
||||
self._output(str)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user