[issue8572] httplib getheader() throws error instead of default

Walter Woods report at bugs.python.org
Wed May 5 17:42:18 CEST 2010


Walter Woods <woodswalben at gmail.com> added the comment:

And if you really think that the unfortunate behavior of 

   >>> getheader('a', ['a', 'b'])
   'a, b'

Is desired, issue8572-unfortunate.diff retains that behavior.  I think that is counter-intuitive though, and it is doubtful that many would be relying on this functionality, given that the default value of None throws an exception at the moment.

----------
Added file: http://bugs.python.org/file17223/issue8572-unfortunate.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8572>
_______________________________________


More information about the Python-bugs-list mailing list