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 ed1b5d0 commit c0fc12bCopy full SHA for c0fc12b
1 file changed
lib/request/redirecthandler.py
@@ -74,6 +74,8 @@ def http_error_302(self, req, fp, code, msg, headers):
74
content = None
75
redurl = self._get_header_redirect(headers)
76
77
+ kb.httpErrorCodes[code] = kb.httpErrorCodes.get(code, 0) + 1
78
+
79
if redurl:
80
if not urlparse.urlsplit(redurl).netloc:
81
redurl = urlparse.urljoin(req.get_full_url(), redurl)
0 commit comments