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: ConnectMethod usage
Date Sat, 05 Jul 2008 23:14:10 GMT
On Sat, 2008-07-05 at 12:56 -0700, Mike Cumings wrote:
> Hi Oleg,
> 
> I'm well ware of what HTTP CONNECT is used for and how it works.  When I added
> the explicit protocol selection in the snippet of code previously sent
> out, I was
> just checking to see if the scheme would e inherited from the host
> configuration.
> I had meant to cut that code out prior to sending out my email but it
> looks like I
> had forgotten do do that..
> 
> I'm just trying to get an HTTP CONNECT to work through an upstream proxy
> to a site passed to my code in the form of a hostname and port authority
> specification.  It seems like it's getting tripped up in httpclient
> when the authority
> specification is being parsed/interpreted as a URI.
> 
> Thanks in advance,
> 
> Mike
> 

Mike,

Why don't you just use ProxyClient for that?

http://svn.apache.org/repos/asf/httpcomponents/oac.hc3x/trunk/src/examples/ProxyTunnelDemo.java

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