Hans-Peter Jansen <[EMAIL PROTECTED]> added the comment: > But should not this patch be handled in a way wherein. > key.capitalize() is just replaced by key.upper()?
Hmm, are you sure? >>> "hello".upper() 'HELLO' >>> but the issue is with values containing dashes: >>> 'accept-charset'.capitalize() 'Accept-charset' whereas the rest of the world would expect: 'Accept-Charset' ^ This is especially useful, if you try to emulate the behavior of a typical browser as close as possible. __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2275> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com