[Patches] [ python-Patches-1117588 ] urllib2 .getheaders attribute
error
SourceForge.net
noreply at sourceforge.net
Mon Feb 7 01:18:37 CET 2005
Patches item #1117588, was opened at 2005-02-07 01:18
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=1117588&group_id=5470
Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Wummel (calvin)
Assigned to: Nobody/Anonymous (nobody)
Summary: urllib2 .getheaders attribute error
Initial Comment:
The headers arguments to all methods are dictionaries,
however the http_error_302 method calls
headers.getheaders() which results in an attribute error.
The attached patch against current CVS fixes this by
using headers.get() instead of .getheaders().
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1117588&group_id=5470
More information about the Patches
mailing list