On Tue, 2011-02-01 at 05:19 -0800, Pifagor wrote:
>
> olegk wrote:
> >
> >
> > it turns out that the ProxySelectorRoutePlanner did not pick up proxy
> > settings correctly.
> >
> > Oleg
> >
> >
>
>
> It correctly picks host and port but not username and password. Also JRE
> does not provi
olegk wrote:
>
>
> it turns out that the ProxySelectorRoutePlanner did not pick up proxy
> settings correctly.
>
> Oleg
>
>
It correctly picks host and port but not username and password. Also JRE
does not provide http.proxyUser or http.proxyPassword, even if you provide
those while load
On Mon, 2011-01-31 at 07:17 -0800, Pifagor wrote:
> Oleg
>
> Your advice needed:
>
> When I import browser proxy settings into HttpClient in applet using:
>
> DefaultHttpClient hc = new DefaultHttpClient();
> ProxySelectorRoutePlanner routePlanner = new
> ProxySelectorRoutePlanne
Oleg
Your advice needed:
When I import browser proxy settings into HttpClient in applet using:
DefaultHttpClient hc = new DefaultHttpClient();
ProxySelectorRoutePlanner routePlanner = new
ProxySelectorRoutePlanner(
hc.getConnectionManager().getSchemeRegistry(),
. Campacci [mailto:rbcampa...@yahoo.com.br]
Sent: quinta-feira, 27 de janeiro de 2011 19:44
To: 'HttpClient User Discussion'
Subject: RE: Problem with Proxy Basic Authentication
Ok, maybe the maven repo where I get http-client has a problem!
Let me check!
Thanks again!
Rodrigo B. Campac
ssion'
Subject: RE: Problem with Proxy Basic Authentication
On Thu, 2011-01-27 at 17:54 -0200, Rodrigo B. Campacci wrote:
> Thanks, Oleg!
>
> Just included Apache Commons Codec in my pom.xml and it works!
>
>
> org.apache.commons
>
On Thu, 2011-01-27 at 17:54 -0200, Rodrigo B. Campacci wrote:
> Thanks, Oleg!
>
> Just included Apache Commons Codec in my pom.xml and it works!
>
>
> org.apache.commons
> commons-codec
> 1.3
>
>
> But remains one ques
-core) pom.xml?
Regards,
Rodrigo B. Campacci
rbcampa...@yahoo.com.br
-Original Message-
From: Oleg Kalnichevski [mailto:ol...@apache.org]
Sent: quinta-feira, 27 de janeiro de 2011 07:25
To: 'HttpClient User Discussion'
Subject: RE: Problem with Proxy Basic Authentication
On Thu
On Thu, 2011-01-27 at 01:28 -0200, Rodrigo B. Campacci wrote:
> Hi Oleg!
...
>
> And I don't get anything printed in console.
> But jUnit in eclipse captured an exception stacktrace:
> (sorry to don´t mention that before, I´m a little bit new at jUnit in Eclipse)
>
> java.lang.NoClassDefFoundE
2:58
To: 'HttpClient User Discussion'
Subject: RE: Problem with Proxy Basic Authentication
> 2011/01/25 23:50:14:464 GMT [DEBUG] DefaultClientConnection - Receiving
> response: HTTP/1.0 407 Proxy Authentication Required
> 2011/01/25 23:50:14:464 GMT [DEBUG] headers - << HTTP/1.0
> 2011/01/25 23:50:14:464 GMT [DEBUG] DefaultClientConnection - Receiving
> response: HTTP/1.0 407 Proxy Authentication Required
> 2011/01/25 23:50:14:464 GMT [DEBUG] headers - << HTTP/1.0 407 Proxy
> Authentication Required
> 2011/01/25 23:50:14:464 GMT [DEBUG] headers - << Server: squid/2.6.ST
.3:8080
2011/01/25 23:50:14:501 GMT [DEBUG] RequestAddCookies - CookieSpec selected:
best-match
2011/01/25 23:50:14:505 GMT [DEBUG] DefaultClientConnection - Connection shut
down
Regards,
Rodrigo B. Campacci
rbcampa...@yahoo.com.br
-Original Message-
From: Oleg Kalnichevski [mailto:ol...@a
drigo B. Campacci
rbcampa...@yahoo.com.br
-Original Message-
From: David Motes [mailto:davidmo...@gmail.com]
Sent: terça-feira, 25 de janeiro de 2011 14:42
To: HttpClient User Discussion; rbcampa...@yahoo.com.br
Subject: Re: Problem with Proxy Basic Authentication
You don't have a
You don't have a target host.
Try something like this. Note the execute on DefaultHttpClient..
Did a quick cut and paste so you will have to fix it up..
DefaultHttpClient cli = new DefaultHttpClient();
HttpGet method = null;
HttpHost targetHost = null;
HttpHost proxy
On Mon, 2011-01-24 at 21:50 -0200, Rodrigo B. Campacci wrote:
> Hi,
>
> I'm trying to make a GET request through a HTTP proxy (squid) with basic
> authentication (user and password).
>
> I found a sample of how to do that using version 3.0, but for version 4.x I
> can't found this.
>
Please pos
Hi,
I'm trying to make a GET request through a HTTP proxy (squid) with basic
authentication (user and password).
I found a sample of how to do that using version 3.0, but for version 4.x I
can't found this.
I'm using the code below, but it isn't working.
HttpRequestBase httpmethod = nul
16 matches
Mail list logo