[issue5053] http.client.HTTPMessage.getallmatchingheaders() always returns []

Mike Watkins report at bugs.python.org
Tue Jan 27 02:53:57 CET 2009


Mike Watkins <python at mikewatkins.ca> added the comment:

Re diffs, noted for the future. 
Re tests:

# py3k-devel/Lib/test % grep -r getallmatchingheaders *

... Returns nothing, so not only does the email package need a test for 
this but so does http.client. 

Incidentally test_mailbox.py has a test for the proposed alternative - 
get_all(), which I noted above. That's another good reason for ridding 
the world of getallmatchingheaders() or at least simply calling 
get_all() from within getallmatchingheaders() if compatibility is a 
legitimate concern.

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


More information about the Python-bugs-list mailing list