Ezio Melotti <ezio.melo...@gmail.com> added the comment: Actually the headers are already parsed, so the code should use self.items() instead of self.keys(), check if the key (without ':') matches, and append the key-value pair to the list. Having a list of key-value pairs seems more useful than having a bare string, but this would be incompatible with 2.7. This function also doesn't seem to be tested and documented, and it's used only once in the stdlib.
---------- keywords: +easy stage: -> test needed versions: +Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13425> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com