I need to send the following HTTP request:
POST /dataexchange.asmx HTTP/1.1
Host: 127.0.0.1
Content-Type: text/xml; charset=utf-8
Content-Length: 290
SOAPAction: “
I’m using the httppost command with {DEBUG 1} and I see that between the headers there are empty lines.
They are not accepted by the Web Server. It stops to read the headers at first empty line.
I’m running qdx5.6
tcl>httppost {{URL
* About to connect() to 127.0.0.1 port 80 (#0)
* Trying 127.0.0.1… * connected
* Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
> POST /DataExchange.asmx HTTP/1.1
User-Agent: Quovadx CISAgent
Host: 127.0.0.1
Accept: */*
Content-Length: 290
SOAPAction:
From:
Connection: close
Content-Type: text/xml; charset=utf-8
Does it exist a way to send HTTP headers without empty line?
POST /DataExchange.asmx HTTP/1.1
User-Agent: Quovadx CISAgent
Host: 127.0.0.1
Accept: */*
Content-Length: 290
SOAPAction:
From:
Connection: close
Content-Type: text/xml; charset=utf-8
Thanks
Serena