mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
bug fix for that BadStatusLine (http://bugs.python.org/issue8450)
This commit is contained in:
parent
6295a59a30
commit
ef1809464d
2 changed files with 1 additions and 3 deletions
|
|
@ -160,6 +160,7 @@ class HTTPHandler(urllib2.HTTPHandler):
|
|||
else:
|
||||
try: r = h.getresponse()
|
||||
except httplib.ResponseNotReady, e: r = None
|
||||
except httplib.BadStatusLine, e: r = None
|
||||
|
||||
if r is None or r.version == 9:
|
||||
# httplib falls back to assuming HTTP 0.9 if it gets a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue