cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_ENCODING (was: Blocking variant of curl_multi_perform)

From: Olaf van der Spek <olafvdspek_at_gmail.com>
Date: Tue, 9 Mar 2010 23:07:05 +0100

On Tue, Mar 9, 2010 at 10:37 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Tue, 9 Mar 2010, Olaf van der Spek wrote:
>
>>> Historically you may be right, but in current HTTP it is a request for
>>> the
>>> server to compress the content it delivers.
>>
>> How's that? Debian Lighttpd for example has compress.filetype =
>> ("text/plain", "text/html", "application/x-javascript", "text/css") So it
>> won't compress a file just because you send a accept encoding header.
>
> I meant that "request" as in a desire, a wish.

Well, of course, as in general, the client doesn't know yet whether
the content is compressed.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-09