php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #69080 SoapClient::__setCookie but no SoapClient::__setHeader
Submitted: 2015-02-19 12:55 UTC Modified: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: will dot tatam at red61 dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.6.5 OS:
Private report: No CVE-ID: None
 [2015-02-19 12:55 UTC] will dot tatam at red61 dot com
Description:
------------
You can set the cookie http header, but no other HTTP header

There are ways to hack adding a header by hacking the user agent string to include a carriage return and other such hacks, but these should not be required.

This can then be used for services that use HTTP based headers for services like authentication or as part of a caching framework, e.g send If-None-Match header to allow services to respond with 304  


Patches

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 05:01:30 2024 UTC