Hey list,

I'm writing a tool that sends multiple queries using HttpClient 4.0.1. I want to store every request/response along with all the request headers and response headers sent by the client in memory and show this information to the user. I tried using the HttpGet.getAllHeaders() method , unfortunately it doesn't contain any headers. Wireshark clearly shows multiple headers being sent (a referer header that I add manually, a User-Agent header I add using a RequestInterceptor and several headers apparently added by the client itself).

The attachment shows the current output generated by the program. The response is completely correct but the request is a mess. All the headers are missing and the request line is not accurate. Any help solving this problem would be great.

Thanks
Jurgen

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to