This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients ezio.melotti, petri.lehtinen, stachjankowski
Date 2011-11-18.11:36:10
SpamBayes Score 4.3847955e-05
Marked as misclassified No
Message-id <1321616171.58.0.91933829479.issue13425@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-11-18 11:36:11ezio.melottisetrecipients: + ezio.melotti, petri.lehtinen, stachjankowski
2011-11-18 11:36:11ezio.melottisetmessageid: <1321616171.58.0.91933829479.issue13425@psf.upfronthosting.co.za>
2011-11-18 11:36:11ezio.melottilinkissue13425 messages
2011-11-18 11:36:10ezio.melotticreate