Hi All.

We have 2 servers test and production.
On the production server we run curl 7.15.5 (x86_64-redhat-linux-gnu) 

On the test server we run curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7

On the production server when I make my GET call the output is fine and only 
contains the XML.
When I make the same call on the test server the output contains the HTTP 
header information and I can't get it suppressed.

Any idea how I can get around this?


curl -v   -k -insecure
             -H "Accept:application/xml"
             -o response.xml


HTTP/1.1 200 OK
Connection: Keep-Alive
Transfer-Encoding: chunked
Expires: -1
Date: Mon, 17 Oct 2016 15:04:40 GMT
Content-Type: application/xml;charset=utf-8
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Pragma: no-cache
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET


Derick de Waal
Team Leader: Proteus Integration


M 0823249919 | T 011-8788121 | F
ddew...@imperial.co.za |

To read our email legal notice, browse to 
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to