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:24:31 +0200
Message-ID: <482DB53F.50006@gmx.de>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: "Web API WG (public)" <public-webapi@w3.org>

Boris Zbarsky wrote:
> 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.

Ah, so all is well. Thanks.

Do you happen to have sample code for using byte stream? I looked for 
that some time ago when trying to implement a WebDAV extension, but 
couldn't figure it out...

BR, Julian
Received on Friday, 16 May 2008 16:25:12 UTC

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