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 stutzbach
Recipients meatballhat, stutzbach, ysj.ray
Date 2010-05-14.13:06:35
SpamBayes Score 0.027255366
Marked as misclassified No
Message-id <1273842397.39.0.633895982291.issue8704@psf.upfronthosting.co.za>
In-reply-to
Content
It displays correctly in some browsers, yes, but not everything that speaks HTTP is a browser.  For example, the invalid header makes C#'s WebRequest throw an exception.

I hadn't noticed the 'Content-Type' on the next line of the string output by reset().  That does make things more complicated.

We could put the "Content-Type: text/html" first, but the downside is that it will be output as visible content if a script crashes after the headers have been emitted.

I'm not sure if that's better or worse than emitting an invalid header.
History
Date User Action Args
2010-05-14 13:06:37stutzbachsetrecipients: + stutzbach, meatballhat, ysj.ray
2010-05-14 13:06:37stutzbachsetmessageid: <1273842397.39.0.633895982291.issue8704@psf.upfronthosting.co.za>
2010-05-14 13:06:35stutzbachlinkissue8704 messages
2010-05-14 13:06:35stutzbachcreate