[Patches] [ python-Patches-1617413 ] urllib HTTPS Basic authentication fix
SourceForge.net
noreply at sourceforge.net
Sun Dec 17 17:05:48 CET 2006
Patches item #1617413, was opened at 2006-12-17 11:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dug Song (dugsong)
Assigned to: Nobody/Anonymous (nobody)
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1617413&group_id=5470
More information about the Patches
mailing list