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 martin.panter
Recipients barry, martin.panter, msapiro, r.david.murray
Date 2016-04-01.22:10:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459548627.72.0.506353856658.issue26686@psf.upfronthosting.co.za>
In-reply-to
Content
Also see Issue 24363, basically the same bug in the HTTP parser, which (ab?)uses the email package to do most of the work. In that case, according to my note the faulty header field ends with:

X-Frame-Options: SAMEORIGIN\r\n
Set-Cookie: mb-CookieP=; HttpOnly; \r\n
Secure\r\n
Set-Cookie: mb-CookieP=; HttpOnly; Secure\r\n
\r\n

But in this case, perhaps because of the implications of dropping the “Secure” flag, people are asking that the faulty line be appended to the previous header field. IMO I don’t think that is super important though. An alternative would be to add it to the defect list, and then raise an exception or warning if any defects are detected.
History
Date User Action Args
2016-04-01 22:10:27martin.pantersetrecipients: + martin.panter, barry, msapiro, r.david.murray
2016-04-01 22:10:27martin.pantersetmessageid: <1459548627.72.0.506353856658.issue26686@psf.upfronthosting.co.za>
2016-04-01 22:10:27martin.panterlinkissue26686 messages
2016-04-01 22:10:27martin.pantercreate