Show More
@@ -451,7 +451,7 b' class httpbasicauthhandler(urlreq.httpba' | |||
|
451 | 451 | if pw is not None: |
|
452 | 452 | raw = "%s:%s" % (user, pw) |
|
453 | 453 | auth = 'Basic %s' % base64.b64encode(raw).strip() |
|
454 |
if req.header |
|
|
454 | if req.get_header(self.auth_header, None) == auth: | |
|
455 | 455 | return None |
|
456 | 456 | self.auth = auth |
|
457 | 457 | req.add_unredirected_header(self.auth_header, auth) |
General Comments 0
You need to be logged in to leave comments.
Login now