Doc #68176 [Asn]: Support for CURLOPT_HEADEROPT and CURLOPT_PROXYHEADER options

From: Date: Thu, 16 Jun 2016 16:41:46 +0000
Subject: Doc #68176 [Asn]: Support for CURLOPT_HEADEROPT and CURLOPT_PROXYHEADER options
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13544@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68176&edit=1 ID: 68176 Updated by: cmb@php.net Reported by: jan dot klos dot contractor at avg dot com Summary: Support for CURLOPT_HEADEROPT and CURLOPT_PROXYHEADER options Status: Assigned Type: Documentation Problem Package: cURL related Operating System: all PHP Version: 5.6-dev -Assigned To: cmb +Assigned To: tyrael Block user comment: N Private report: N New Comment: The documentation is fixed (will take a while to get rolled out, though). Switching back to feature request and assigning to tyrael wrt. to PHP 5.6 backport decision. Previous Comments: ------------------------------------------------------------------------ [2016-06-16 16:38:44] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=339371 Log: Fix #68176: Support for CURLOPT_HEADEROPT and CURLOPT_PROXYHEADER options ------------------------------------------------------------------------ [2016-06-16 16:21:38] cmb@php.net These constants are available as of PHP 7.0.7, see <https://github.com/php/php-src/blob/php-7.0.7/ext/curl/interface.c>. I'm changing to doc bug, because that is not yet documented. @tyrael Should the constants be included in PHP 5.6, too? ------------------------------------------------------------------------ [2014-10-07 11:01:53] jan dot klos dot contractor at avg dot com Description: ------------ Since cURL 7.37.0, cURL supports setting separate HTTP headers for CONNECT and other proxy requests and to the target server itself. This is especially useful when the HTTP headers break the connection. It would be nice to have this ability in PHP as well. See http://curl.haxx.se/libcurl/c/CURLOPT_HEADEROPT.html I have searched in cURL source for the constant values and tried to set the values using "curl_setopt($ch, 229, 1)", to no avail - the unknown options are probably filtered somewhere in cURL PHP wrapper source. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68176&edit=1

« previous php.doc.bugs (#13544) next »