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

Mike Watkins report at bugs.python.org
Tue Jan 27 08:58:02 CET 2009


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

Further investigation ( grep -r getallmatchingheaders Lib/* ) reveals 
that in addition to having no tests, and being implemented incorrectly 
in http.client, getallmatchingheaders() is called only once, in 
http.server; that code is also broken (I reported this yesterday in  
#5053).

Maybe Python 3 is where getallmatchingheaders can make a graceful 
goodbye (and a 2to3 conversion added?).

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


More information about the Python-bugs-list mailing list