for some reasons, Windows servers have always had trouble with using Content-Length and zipping content within NuSoap. No matter the settings in Apache, the content comes messed. A quick workaround is to comment out lines 4345 to 4377, starting with comment "//begin code to compress payload - by John" and ending with $this->outgoing_headers[] = "Content-Length: " . strlen($payload);
Confirmed on Windows server 2012 R2 with multiple NuSoap versions, yours included. Adding mode_deflate to Apache did not help, neither did setting PHP global compression to deflate or none. Can you please look into it?
Hi,
for some reasons, Windows servers have always had trouble with using Content-Length and zipping content within NuSoap. No matter the settings in Apache, the content comes messed. A quick workaround is to comment out lines 4345 to 4377, starting with comment "//begin code to compress payload - by John" and ending with $this->outgoing_headers[] = "Content-Length: " . strlen($payload); Confirmed on Windows server 2012 R2 with multiple NuSoap versions, yours included. Adding mode_deflate to Apache did not help, neither did setting PHP global compression to deflate or none. Can you please look into it?