You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Arya <ar...@gmail.com> on 2011/06/14 06:16:29 UTC

Capturing traffic from HTTPClient

Hello

I used to work with C#'s httpwebrequest but since it does not support SOCKS
I decided to try HTTPClient. I like it very much so far, but I'm having a
hard time logging traffic from it, I always used Fiddler to log
httpwebrequest's traffic and I was able to log HTTPClient's traffic by
setting its proxy to what Fiddler listens to, but when dealing with https I
can't log traffic. Are there any solutions to this?


Regards!

Re: Capturing traffic from HTTPClient

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Tue, 2011-06-14 at 00:16 -0400, Arya wrote:
> Hello
> 
> I used to work with C#'s httpwebrequest but since it does not support SOCKS
> I decided to try HTTPClient. I like it very much so far, but I'm having a
> hard time logging traffic from it, I always used Fiddler to log
> httpwebrequest's traffic and I was able to log HTTPClient's traffic by
> setting its proxy to what Fiddler listens to, but when dealing with https I
> can't log traffic. Are there any solutions to this?
> 
> 
> Regards!

Wire logging is your friend

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