Edit report at https://bugs.php.net/bug.php?id=60887&edit=1
ID: 60887
Comment by: mail at tomsommer dot dk
Reported by: mail at tomsommer dot dk
Summary: SoapClient ignores user_agent option and sends no
User-Agent header
Status: Open
Type: Bug
Package: SOAP related
PHP Version: 5.3.9
Block user comment: N
Private report: N
New Comment:
The receiving server only receive the following headers:
GET / HTTP/1.1
Host: www.example.com
Connection: close
Checked with tcpdump
Previous Comments:
------------------------------------------------------------------------
[2012-01-25 20:45:55] mail at tomsommer dot dk
Description:
------------
The SoapClient ignores the "user_agent" option, and sends no User-Agent at all.
Test script:
---------------
$client = new SoapClient('http://www.example.com/', array('user_agent' =>
'foo'));
Expected result:
----------------
User-Agent header on the remote server
Actual result:
--------------
No User-Agent header on the remote server
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60887&edit=1