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...