Date: 02/16/01
- Next message: ajandris <email protected>: "[PHP-DEV] PHP 4.0 Bug #9299: magic quotes On - always"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #9298 Updated: HTTP File upload, Content-Type header is stored at the beginning of the file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 9296
User Update by: tom.anheyer <email protected>
Status: Closed
Bug Type: cURL related
Description: curl_setopt ($ch, CURLOPT_HTTPHEADER, ..) doesn't work
sorry
Previous Comments:
---------------------------------------------------------------------------
[2001-02-16 10:43:17] sniper <email protected>
This is fixed in CVS already.
--Jani
---------------------------------------------------------------------------
[2001-02-16 10:32:00] tom.anheyer <email protected>
There is a false constant declarion in the source for
CURLOPT_HTTPHEADER
*** ext/curl/curl.c-orig Wed Dec 13 11:23:11 2000
--- ext/curl/curl.c Fri Feb 16 16:09:16 2001
***************
*** 146,152 ****
REGISTER_LONG_CONSTANT("CURLOPT_PROXY",
CURLOPT_PROXY, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("CURLOPT_VERBOSE",
CURLOPT_VERBOSE, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("CURLOPT_HEADER",
CURLOPT_HEADER, CONST_CS | CONST_PERSISTENT);
! REGISTER_LONG_CONSTANT("CURLOPT_HTTPHEADER",
CURLOPT_HEADER, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("CURLOPT_NOPROGRESS",
CURLOPT_NOPROGRESS, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("CURLOPT_NOBODY",
CURLOPT_NOBODY, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("CURLOPT_FAILONERROR",
CURLOPT_FAILONERROR, CONST_CS | CONST_PERSISTENT);
--- 146,152 ----
REGISTER_LONG_CONSTANT("CURLOPT_PROXY",
CURLOPT_PROXY, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("CURLOPT_VERBOSE",
CURLOPT_VERBOSE, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("CURLOPT_HEADER",
CURLOPT_HEADER, CONST_CS | CONST_PERSISTENT);
! REGISTER_LONG_CONSTANT("CURLOPT_HTTPHEADER",
CURLOPT_HTTPHEADER, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("CURLOPT_NOPROGRESS",
CURLOPT_NOPROGRESS, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("CURLOPT_NOBODY",
CURLOPT_NOBODY, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("CURLOPT_FAILONERROR",
CURLOPT_FAILONERROR, CONST_CS | CONST_PERSISTENT);
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9296
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: ajandris <email protected>: "[PHP-DEV] PHP 4.0 Bug #9299: magic quotes On - always"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #9298 Updated: HTTP File upload, Content-Type header is stored at the beginning of the file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

