mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
added that "default" "Connection: keep-alive" header
This commit is contained in:
parent
cd0fe8dde0
commit
73ececd903
|
@ -128,6 +128,9 @@ class HTTPHandler(urllib2.HTTPHandler):
|
|||
else:
|
||||
h.putrequest('GET', req.get_selector())
|
||||
|
||||
if not req.headers.has_key('Connection'):
|
||||
h.putheader('Connection', 'keep-alive')
|
||||
|
||||
for args in self.parent.addheaders:
|
||||
h.putheader(*args)
|
||||
for k, v in req.headers.items():
|
||||
|
|
Loading…
Reference in New Issue
Block a user