[Python-bugs-list] [ python-Bugs-682648 ] urllib2 HTTPDigestAuthHandler misnamed class attr

SourceForge.net noreply@sourceforge.net
Wed, 09 Jul 2003 15:29:36 -0700


Bugs item #682648, was opened at 2003-02-07 19:05
Message generated for change (Comment added) made by nnorwitz
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: Jeremy Hylton (jhylton)
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-07-09 18:29

Message:
Logged In: YES 
user_id=33168

Jeremy, do you have time to look at this?

----------------------------------------------------------------------

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