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

Re: Support for compression in XHR?

From: Stewart Brodie <stewart.brodie@antplc.com>
Date: Fri, 12 Sep 2008 14:36:36 -0400
To: Jonas Sicking <jonas@sicking.cc>
CC: mike amundsen <mamund@yahoo.com>, public-webapps@w3.org
Message-ID: <f91e85a3f8f78a774785de4f6df0a5a4bac6e474@localhost>

Jonas Sicking <jonas@sicking.cc> wrote:

> This at the cost of the overhead of always making an OPTIONS request 
> before attempting compression.

Only if you haven't seen the server before - and in the vast majority of
cases, you will have.  I wouldn't suggest sending it every time, because
that would be clearly daft.  Typically, HTTP clients need to maintain notes
on servers if they want to work optimally with them anyway.  Whether the
server supports compression via gzip and/or deflate would just be another
bit of information that the client could collect.

-- 
Stewart Brodie
Received on Friday, 12 September 2008 18:37:38 GMT

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