cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_ENCODING

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 14 Sep 2004 11:03:26 -0700

On Tue, Sep 14, 2004 at 01:55:36PM +0200, Diana Castillo wrote:
> when I use this line
> curl_setopt($curl_interface, CURLOPT_ENCODING, "gzip");
>
> why do I get this message? "Use of undefined constant CURLOPT_ENCODING "
>
> Is this only defined in some versions of CURL?
>
> thanks for your help,

Is this the perl binding you're using? Are you sure you're using a recent
version? CURLOPT_ENCODING has been in curl for a long time, but not forever.
It's possible that the perl binding lagged, too.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2004-09-14