[Python-bugs-list] [ python-Bugs-682648 ] urllib2 HTTPDigestAuthHandler misnamed class attr
SourceForge.net
noreply@sourceforge.net
Sun, 09 Feb 2003 18:59:24 -0800
Bugs item #682648, was opened at 2003-02-07 19:05
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=682648&group_id=5470
Category: Python Library
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: steve steiner (ssteiner)
Assigned to: Nobody/Anonymous (nobody)
Summary: urllib2 HTTPDigestAuthHandler misnamed class attr
Initial Comment:
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'
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-02-09 21:59
Message:
Logged In: YES
user_id=33168
Sure looks right to me (ie, changing header to auth_header).
Can you supply tests? Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=682648&group_id=5470