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

Re: XHR vs setting request headers

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 16 May 2008 11:10:45 -0500
Message-ID: <482DB205.3080904@mit.edu>
To: Julian Reschke <julian.reschke@gmx.de>
CC: "Web API WG (public)" <public-webapi@w3.org>

Julian Reschke wrote:
> 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.

For what it's worth, Mozilla does have such a way (only available to privileged 
code).  When the body is set from a byte stream directly, we don't touch the 
charset arg.

-Boris
Received on Friday, 16 May 2008 16:11:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 16 May 2008 16:11:37 GMT