hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: How to get http headers using httpclient
Date Mon, 25 Oct 2010 08:22:49 GMT
On Mon, 2010-10-25 at 01:00 +0200, dgzag@gmx.at wrote:
> Hi All,
> I solved the problem myself. I thought the request line would be part of the http-headers.
So I didn't find the line in the headers.
> Shame on me, I would had to read the HttpGet and HttpResponse api.
>
>
> The following class prints the whole http request, response header and content.
> 

You might want to have a look at

http://hc.apache.org/httpcomponents-client-ga/logging.html

Oleg




---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message