mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 13:03:50 +03:00
added default HTTP version used by httplib and urllib2
This commit is contained in:
parent
7f1aa3b94f
commit
2668c95ef4
|
@ -114,7 +114,7 @@ class Connect:
|
|||
if conf.parameters.has_key("POST") and not post:
|
||||
post = conf.parameters["POST"]
|
||||
|
||||
requestMsg += " HTTP/1.1"
|
||||
requestMsg += " %s" % httplib.HTTPConnection._http_vsn_str
|
||||
|
||||
# Perform HTTP request
|
||||
headers = forgeHeaders(cookie, ua)
|
||||
|
|
Loading…
Reference in New Issue
Block a user