Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #11332: Allow tests to run on PHP 5.3
Since PHP 5.3 the SoapClient requires a Content-Length header to be present. According to http://bugs.php.net/bug.php?id=49226 : SOAP retrieves the WSDL using HTTP/1.0, which does not have chunked transfers. Therefore, the server should provide a Content-length header. If it does not do that, SoapServer can not load the WSDL correctly. This is not a bug in PHP, since the content-length header is mandatory for HTTP/1.0 messages which have a body. This commit patches nusoap to send a Content-Length header for the WSDL file.
- Loading branch information