Show More
@@ -556,6 +556,13 b' class httpdigestauthhandler(urllib2.HTTP' | |||||
556 | return |
|
556 | return | |
557 | raise |
|
557 | raise | |
558 |
|
558 | |||
|
559 | # Python 2.6.5 will keep resetting the retry count on redirects, for | |||
|
560 | # example when the server returns 401 on failing auth (like google code | |||
|
561 | # currently does). We stop the endless recursion by not resetting the | |||
|
562 | # count. | |||
|
563 | def reset_retry_count(self): | |||
|
564 | pass | |||
|
565 | ||||
559 | def getauthinfo(path): |
|
566 | def getauthinfo(path): | |
560 | scheme, netloc, urlpath, query, frag = urlparse.urlsplit(path) |
|
567 | scheme, netloc, urlpath, query, frag = urlparse.urlsplit(path) | |
561 | if not urlpath: |
|
568 | if not urlpath: |
General Comments 0
You need to be logged in to leave comments.
Login now