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: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 19 Feb 2013 18:40:27 +0000
Message-ID: <CADnb78jVjXNdSRjNQWBMmV_ppHpUFxH_JToOfZ686a_jVFsvZw@mail.gmail.com>
To: David Bruant <bruant.d@gmail.com>
Cc: public-webapps@w3.org, Nicolas Chambrier <naholyr@gmail.com>
On Tue, Feb 19, 2013 at 5:51 PM, David Bruant <bruant.d@gmail.com> wrote:
> My understanding of the spec is that the charset shouldn't be added,
> because:
> 1) the Content-Type header is in author request header
> 2) the value is a valid MIME-type (tell me if I'm wrong on this)
> 3) it does not have a charset parameter (so, the condition of step 4 doesn't
> apply in my opinion).
> Who should I file a bug against?


http://xhr.spec.whatwg.org/#the-send%28%29-method is pretty clear that
we only correct charset parameters. Even if
application/vnd.ooz.user.v1+json was invalid we still should not
muddle with it.

Received on Tuesday, 19 February 2013 18:40:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:58 UTC