Req->Doc #68176 [Opn]: Support for CURLOPT_HEADEROPT and CURLOPT_PROXYHEADER options
| From: | cmb@php.net | Date: | Thu, 16 Jun 2016 16:21:39 +0000 |
| Subject: | Req->Doc #68176 [Opn]: Support for CURLOPT_HEADEROPT and CURLOPT_PROXYHEADER options | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13543@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: Open
-Type: Feature/Change Request
+Type: Documentation Problem
Package: cURL related
Operating System: all
PHP Version: 5.6-dev
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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?
Previous Comments:
------------------------------------------------------------------------
[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