Petri Lehtinen <pe...@digip.org> added the comment: > Let's make it useful, that's much better instead of removing it. I am > +1 with Ezio's suggestion on this to return a list of tuples with > matching headers.
But there's already a function that does it: http://docs.python.org/dev/library/email.message.html#email.message.Message.get_all HTTPMessage is a subclass of email.message.Message, so it's available in HTTPMessage as well. ---------- _______________________________________ 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