Re: Support for compression in XHR?

Le mardi 09 septembre 2008 à 09:02 -0400, Boris Zbarsky a écrit :
> HTTP has Content-Encoding and Transfer-Encoding, no?  No special effort 
> on the part of XMLHttpRequest is needed to make use of those, as long as 
> the underlying HTTP implementation supports them.

Well, at least when an outgoing XmlHttpRequest goes with a body, the
spec could require that upon setting the Content-Encoding header to
"gzip" or "deflate", that the body be adequately transformed. Or is
there another e.g. to POST a gzip request with Content-Encoding?

Dom

Received on Tuesday, 9 September 2008 14:00:22 UTC