curl-users
Re: Problem with Header "Expect:" and lighttpd and PHP
From: Pierre <junk_at_regne.net>
Date: Sun, 25 Dec 2005 10:04:21 +0100
Date: Sun, 25 Dec 2005 10:04:21 +0100
Daniel Stenberg a écrit :
> On Sat, 24 Dec 2005, Pierre wrote:
>
>> I've read the archive then used -H "Expect:" and this fixed all.
>>
>> curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "Expect:");
>
>
> -H is not at all like CURLOPT_CUSTOMREQUEST, -H sets the
> CURLOPT_HTTPHEADER option.
>
> CURLOPT_CUSTOMREQUEST's command line version is called -X/--request.
>
I figured this later in the evening :)
So everything is Ok to me now !!
Thank you for your answers anyway
I've just discovered your powerfull tool a couple days ago, as I planed
to perform some of its action myself. Works great, and again : powerfull !!
Merry Christmas to everyone
Pierre
Received on 2005-12-25