Req #51551 [Opn]: Include custom HTTP headers in request

From: Date: Wed, 23 Jun 2010 18:28:23 +0000
Subject: Req #51551 [Opn]: Include custom HTTP headers in request
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-151812@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51551&edit=1 ID: 51551 Updated by: srinatar@php.net Reported by: ed at atl dot org Summary: Include custom HTTP headers in request Status: Open Type: Feature/Change Request Package: SOAP related Operating System: ALL PHP Version: 5.3SVN-2010-04-13 (SVN) -Assigned To: +Assigned To: srinatar New Comment: I agree, it is very useful. I will look more into this patch. thanks for the suggested patch Previous Comments: ------------------------------------------------------------------------ [2010-04-13 18:46:30] ed at atl dot org Description: ------------ When creating a soap client, I would also like to be able to identify custom HTTP headers. See attached patch, please include in next release (which will also require the documentation to be included) Test script: --------------- $client = new SoapClient('http://london:8180/testing/headerserver.php?wsdl', array( "trace"=>true, "custom_http_header"=>"New: test header" )); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51551&edit=1

« previous php.bugs (#151812) next »