Issue 682648: urllib2 HTTPDigestAuthHandler misnamed class attr (original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/37936
classification
Title: | urllib2 HTTPDigestAuthHandler misnamed class attr | ||
---|---|---|---|
Type: | Stage: | ||
Components: | Library (Lib) | Versions: | Python 2.2 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | jhylton | Nosy List: | jhylton, nnorwitz, ssteiner |
Priority: | normal | Keywords: |
Created on 2003-02-08 00:05 by ssteiner, last changed 2022-04-10 16:06 by admin. This issue is now closed.
Messages (4) | ||
---|---|---|
msg14505 - (view) | Author: steve steiner (ssteiner) | Date: 2003-02-08 00:05 |
The class attribute 'header' should be named 'auth_header' as it is in HTTPBasicAuthHandler. Same is true of ProxyDigestAuthHandler. These classes throw an AttributeError (shown below for HTTPDigestAuthHandler: AttributeError: HTTPDigestAuthHandler instance has no attribute 'auth_header' | ||
msg14506 - (view) | Author: Neal Norwitz (nnorwitz) * ![]() |
Date: 2003-02-10 02:59 |
Logged In: YES user_id=33168 Sure looks right to me (ie, changing header to auth_header). Can you supply tests? Thanks. | ||
msg14507 - (view) | Author: Neal Norwitz (nnorwitz) * ![]() |
Date: 2003-07-09 22:29 |
Logged In: YES user_id=33168 Jeremy, do you have time to look at this? | ||
msg14508 - (view) | Author: Jeremy Hylton (jhylton) ![]() |
Date: 2003-07-10 13:30 |
Logged In: YES user_id=31392 Fixed in rev 1.52 of urllib2.py. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-10 16:06:38 | admin | set | github: 37936 |
2003-02-08 00:05:44 | ssteiner | create |