W3C home > Mailing lists > Public > public-webapi@w3.org > May 2008

Re: XHR vs setting request headers

From: Julian Reschke <julian.reschke@gmx.de>
Date: Fri, 16 May 2008 18:07:05 +0200
Message-ID: <482DB129.9080105@gmx.de>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: "Web API WG (public)" <public-webapi@w3.org>

Boris Zbarsky wrote:
> Julian Reschke wrote:
>> Yes, I noticed that. For instance, it happens for application/..+xml, 
>> where it's really useless. Shouldn't this be restricted to text/*?
> That could perhaps be done.  The initial implementation just does it no 
> matter the MIME type so as to avoid making assumptions about particular 
> types (always a good thing).

This assumes that every non-text/* mime type *can* take a charset 
parameter, which IMHO is not true.

But this probably only becomes relevant once we have non XML/string 
based ways to set the body.

BR, Julian
Received on Friday, 16 May 2008 16:07:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:27 UTC