W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: [xhr] Appending a charset after an author added content-type

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 19 Feb 2013 14:30:38 -0500
Message-ID: <5123D2DE.7080700@mit.edu>
To: Anne van Kesteren <annevk@annevk.nl>
CC: public-webapps@w3.org
On 2/19/13 1:51 PM, Anne van Kesteren wrote:
> Does that include cases though where the page did set a Content-Type
> through setRequestHeader()?

That's a good question.  I don't remember anymore; I'd have to go read 
the relevant bugs.

> Because technically what Firefox does
> violates HTTP semantics as not every MIME type allows for a charset
> parameter.

Indeed.  Not sure how worthwhile it is to restrict this sort of thing to 
text/plain.

-Boris
Received on Tuesday, 19 February 2013 19:31:07 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:57 GMT