cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Blocking variant of curl_multi_perform

From: Olaf van der Spek <olafvdspek_at_gmail.com>
Date: Fri, 5 Mar 2010 21:19:05 +0100

On Fri, Mar 5, 2010 at 9:02 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Fri, 5 Mar 2010, Olaf van der Spek wrote:
>
>> Regarding simplicity, what's the reason CURLOPT_ENCODING doesn't default
>> to ""?
>
> Good old fashioned conservatism. libcurl does very simple requests by
> default by tradition and lets the app add the fancy stuff to it with
> options. This mostly because internet protocols tend to be implemented
> fragile and changing default behaviors tend to lead to something breaking
> somewhere.
>
> But I'm open to suggestions and feedback. If I just get enough motivation
> and people expressing a desire, I'll be willing to change defaults (and
> more).

The content encoding header has been around for quite some time and
using compression is fairly standard practice nowadays.
I feel the good guys shouldn't be dragged down because some bad guys
use a faulty web server.

Olaf
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-05