Re: Support for compression in XHR?

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 UTC