[ python-Bugs-979407 ] urllib2 digest auth totally broken

SourceForge.net noreply at sourceforge.net
Thu Jun 24 21:16:37 EDT 2004


Bugs item #979407, was opened at 2004-06-24 20:16
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=979407&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Aaron Swartz (aaronsw)
Assigned to: Nobody/Anonymous (nobody)
Summary: urllib2 digest auth totally broken

Initial Comment:
The urllib2 digest auth handler is totally broken. 

1. It looks for an "Authorization" header instead of "WWW-
Authenticate" (Authorization is the header you send back).

2.  It  thinks passwords in the URL are port names.

3. Even if you get around all that, it just doesn't work. It seems 
to encrypt the thing wrongly and get itself into an infinite loop 
sending the wrong answer back again and again, being rejected 
each time.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=979407&group_id=5470



More information about the Python-bugs-list mailing list