Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f0a443 commit 5f7f4bfCopy full SHA for 5f7f4bf
1 file changed
lib/request/connect.py
@@ -243,6 +243,9 @@ def getPage(**kwargs):
243
elif "timeout" in tbMsg:
244
warnMsg = "connection timed out to the target url"
245
elif "BadStatusLine" in tbMsg:
246
+ debugMsg = "BadStatusLine: %s || %s || %d" % (tbMsg, e, e.line)
247
+ logger.debug(debugMsg)
248
+
249
warnMsg = "the target url responded with an unknown HTTP "
250
warnMsg += "status code, try to force the HTTP User-Agent "
251
warnMsg += "header with option --user-agent or -a"
0 commit comments