cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: gzip, deflate, chunked-encoding supported?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sat, 24 Jan 2004 12:02:50 +0100 (CET)

On Fri, 23 Jan 2004, Gaetano Giunta wrote:

> Does curl support gzipped, deflated or chunk-encoded http responses?

Yes on all three.

> If so, how can I enable the corresponding headers when making a POST?

CURLOPT_ENCODING controls the gzip/deflate and chunked-encoded response are
always taken care of (this is required by http 1.1 clients).

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-01-28