mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 19:43:48 +03:00
minor cosmetics
This commit is contained in:
parent
6607a240cf
commit
cbdd9e921e
|
@ -31,6 +31,7 @@ class SmartRedirectHandler(urllib2.HTTPRedirectHandler):
|
||||||
|
|
||||||
responseMsg = "HTTP response "
|
responseMsg = "HTTP response "
|
||||||
responseMsg += "[#%d] (%d %s):\n" % (threadData.lastRequestUID, code, getUnicode(msg))
|
responseMsg += "[#%d] (%d %s):\n" % (threadData.lastRequestUID, code, getUnicode(msg))
|
||||||
|
|
||||||
if headers:
|
if headers:
|
||||||
logHeaders = "\n".join(["%s: %s" % (key.capitalize() if isinstance(key, basestring) else key, getUnicode(value)) for (key, value) in headers.items()])
|
logHeaders = "\n".join(["%s: %s" % (key.capitalize() if isinstance(key, basestring) else key, getUnicode(value)) for (key, value) in headers.items()])
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user