[issue2275] urllib2 header capitalization

Senthil report at bugs.python.org
Sun Mar 30 06:43:48 CEST 2008


Senthil <orsenthil at users.sourceforge.net> added the comment:

I understand your implementation of _cap_header_key function.
But should not this patch be handled in a way wherein.
key.capitalize() is just replaced by key.upper()?

Should not that suffice?
What is the difference between _cap_header_key and key.upper()?

Thank you,
Senthil

----------
nosy: +orsenthil

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2275>
__________________________________


More information about the Python-bugs-list mailing list