Patches item #1617413, was opened at 2006-12-17 11:05
Message generated for change (Comment added) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1617413&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.5
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Dug Song (dugsong)
>Assigned to: A.M. Kuchling (akuchling)
Summary: urllib HTTPS Basic authentication fix

Initial Comment:
urllib's support for HTTP Basic authentication via HTTPS is broken, due to an 
invalid call in URLopener.open_https() to HTTPConnection.putheader() 
(apparently miscopied from URLopener.open_http(), which gets it right). the 
code incorrectly calls putheader with a fully formatted header instead of 
passing a name and value separately, resulting in a badly formatted header 
ending with a trailing colon.

the fix is trivial.


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

>Comment By: A.M. Kuchling (akuchling)
Date: 2006-12-19 10:14

Message:
Logged In: YES 
user_id=11375
Originator: NO

Thanks for the fix!  Applied to trunk in rev. 53068 and to 25-maint in
rev. 53069.


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1617413&group_id=5470
_______________________________________________
Patches mailing list
Patches@python.org
http://mail.python.org/mailman/listinfo/patches

Reply via email to