This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Cal.Leeming
Recipients Cal.Leeming, r.david.murray
Date 2011-06-30.20:19:38
SpamBayes Score 3.3567924e-06
Marked as misclassified No
Message-id <1309465179.31.0.627720828955.issue12455@psf.upfronthosting.co.za>
In-reply-to
Content
So @r.david.murray, it would appear you were right :D Really, I should have looped through each method on str(), and wrapped them all to see which were being called, but lesson learned I guess.

Sooo, I guess now the question is, can we possibly get a vote on having a feature which disables this functionality from the opener level. Something like:
opener = urllib2.build_opener(urllib2.HTTPHandler(debuglevel=1, keep_original_header_case=True))

But obviously a less tedious attribute name :)

In the mean times, if anyone else comes up against this problem, the code I pasted above will work fine for now.

Cal
History
Date User Action Args
2011-06-30 20:19:39Cal.Leemingsetrecipients: + Cal.Leeming, r.david.murray
2011-06-30 20:19:39Cal.Leemingsetmessageid: <1309465179.31.0.627720828955.issue12455@psf.upfronthosting.co.za>
2011-06-30 20:19:38Cal.Leeminglinkissue12455 messages
2011-06-30 20:19:38Cal.Leemingcreate