This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HTTP Server: recover Header HTTP

Hello everyone,

We are currently working on a Web server on a Cortex-M7 ARM to transmit SOAP messages via HTTP and CGI.
For this, we would need to recover the request's HTTP Header and more specifically to access the URL of the CGI script used.
According to the CGI script called, SOAP messages will be treated differently.

Example of the HTTP header used:

POST 63.83.88.40/BrukSoap.cgi HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "">ws.bruker.com/.../GetMode"
Content-Length: 331
Host: 63.83.88.40:80
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
POST http://63.83.88.40/soap.cgi HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "">brukerws/.../GetBisList"
Content-Length: 219
Host: 63.83.88.40
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

Thanks in advances,

Best regards