The code below is a log of a SOAP request that forms part of my Google AdWords App. I'd like to be able to change or remove the Content-Encoding of the request as I think this may be be causing an error. It can be seen below on line 5.
Any ideas would be appreciated.
PHP Error:
Notice: Failed to load response into DOM: DOMDocument::loadXML():
SOAP Request:
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.4.3, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: deflate
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 780SOAP Error:
HTTP/1.1 415 Unsupported Media Type Content-Type: text/html; charset=UTF-8 Content-Encoding: gzip Date: Tue, 25 Jun 2013 20:45:10 GMT Expires: Tue, 25 Jun 2013 20:45:10 GMT Cache-Control: private, max-age=0 X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block Content-Length: 131 Server: GSE
Content-Encoding: deflate