mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Fixes #1878
This commit is contained in:
parent
03be9f9b65
commit
72f3185ae7
3 changed files with 353 additions and 177 deletions
|
|
@ -373,6 +373,9 @@ class Connect(object):
|
|||
if boundary:
|
||||
headers[HTTP_HEADER.CONTENT_TYPE] = "%s; boundary=%s" % (headers[HTTP_HEADER.CONTENT_TYPE], boundary)
|
||||
|
||||
if conf.keepAlive:
|
||||
headers[HTTP_HEADER.CONNECTION] = "keep-alive"
|
||||
|
||||
# Reset header values to original in case of provided request file
|
||||
if target and conf.requestFile:
|
||||
headers = OrderedDict(conf.httpHeaders)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue