#50976 [Opn->Asn]: Soap headers Authorization not allowed
| From: | felipe@php.net | Date: | Mon, 15 Feb 2010 22:27:33 +0000 |
| Subject: | #50976 [Opn->Asn]: Soap headers Authorization not allowed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-147669@lists.php.net to get a copy of this message | ||
ID: 50976
Updated by: felipe@php.net
Reported By: bfrance@php.net
-Status: Open
+Status: Assigned
Bug Type: SOAP related
PHP Version: 5.3.1
-Assigned To:
+Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2010-02-09 17:08:24] bfrance@php.net
Description:
------------
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/soap/php_http.c?r1=266886&r2=266885&pathrev=266886
This patch adds support to add headers into the http context, but
doesn't allow the Authorization header for some reason.
I added a patch to our 5.2 build that would add all headers in the http
context and remove that patch in 5.3 because I noticed the above patch.
Somebody at work is needing to add Authorization header to get OAuth
stuff working, but for some reason it is not allowed.
Here is a patch that will allow the Authorization header:
http://www.brianfrance.com/software/php/soap_http_headers/soap_http_headers.diff
Reproduce code:
---------------
Here is an example script that requires the Authorization when used for
the OAuth stuff.
http://www.brianfrance.com/software/php/soap_http_headers/oauthsoapsample.php.txt
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50976&edit=1