mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Some more refactoring
This commit is contained in:
parent
1a8ebbfd43
commit
e948e4d45b
9 changed files with 16 additions and 22 deletions
|
|
@ -324,7 +324,7 @@ class HTTPConnection(httplib.HTTPConnection):
|
|||
else:
|
||||
raise CannotSendHeader()
|
||||
|
||||
for header in ['Host', 'Accept-Encoding']:
|
||||
for header in ('Host', 'Accept-Encoding'):
|
||||
if header in self._headers:
|
||||
str = '%s: %s' % (header, self._headers[header])
|
||||
self._output(str)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue