W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2008

Re: Support for compression in XHR?

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Tue, 09 Sep 2008 17:29:03 +0200
To: Geoffrey Sneddon <foolistbar@googlemail.com>
Cc: Boris Zbarsky <bzbarsky@MIT.EDU>, public-webapps@w3.org
Message-Id: <1220974143.19890.232.camel@localhost>

Le mardi 09 septembre 2008 à 16:10 +0100, Geoffrey Sneddon a écrit :
> > 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?
> 
> Why can it not just be added transparently by the XHR implementation?

I'm sure it could, but if one implementation does it and another
doesn't, this leads to interoperability problems - hence the usefulness
of documenting it in the spec. Or this is there any catchall
requirements in the spec that covers it?

Dom
Received on Tuesday, 9 September 2008 15:30:24 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:27 GMT