|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-2010735 ] setting a CURLOPT_NOBODY option forces GET request
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 07 Jul 2008 18:09:17 +0000
Bugs item #2010735, was opened at 2008-07-04 17:34
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
In my PHP scripts I use CURL for POST requests.
This code sends a basic POST request:
curl_setopt ($ch, CURLOPT_POST, 1);
//echo $Curl->exec();
If I uncomment CURLOPT_NOBODY option with any value, it will send GET request instead of POST.
Thanks, Grigori
----------------------------------------------------------------------
Comment By: Dan Fandrich (dfandrich)
Message:
This is by design, to wit (from the changelog):
Setting CURLOPT_NOBODY to FALSE will now switch the HTTP request method
And (from the man page):
If you issue a POST request and then want to make a
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info