summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorVincent JARDIN <vjardin@free.fr>2019-04-23 23:10:38 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-05-21 10:04:15 +0200
commit5f8c22d41536768298354218fe238691ae750f75 (patch)
tree95df7588f77fb1c1fd13d959fcd57591de37ed88 /sapi/cli/php_cli.c
parent202e6936d6fa319fdda16c5c61d70ce19c2ecef6 (diff)
downloadphp-git-5f8c22d41536768298354218fe238691ae750f75.tar.gz
Support content_type stream context option in soap
Allows overriding the HTTP header using the HTTP context: $client = new SoapClient('http://url.wsdl&v=latest', [ 'stream_context' => stream_context_create([ 'http' => [ 'content_type' => 'foobarX', ], ]), ]); This is a backport of c55af3c65ac116bbd935bd3d695869d88056c49c to the PHP 7.2 branch.
Diffstat (limited to 'sapi/cli/php_cli.c')
0 files changed, 0 insertions, 0 deletions