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 Bashiro <ba...@myway.com> on 2008/05/04 08:55:08 UTC

request GET line



I sent this message hoping to get a response but all invain.
I hereby send again in case it escaped others. I really need help
Thanks.


Hello,
I will be grateful for any kind of help...

The authentication site is:
https://www.ChangeIP.com/nic/update
But httpclient always searches for authentication at:
https://www.ChangeIP.com/

This results in authentication failure.
Even though I declare
connectTo =https://www.ChangeIP.com/nic/update
new AuthScope(connectTo, 443, realm)
httpclient stops at https://www.ChangeIP.com/ and wait for authentication.

Now my question is;
how do I let httpclient to use hhttps://www.ChangeIP.com/nic/update
instead of https://www.ChangeIP.com/ to search for authentication before the GET actually comes ?

Thanks in advance

Bashiro
Drammen-Norway



_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com



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


Re: request GET line

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Sun, 2008-05-04 at 02:55 -0400, Bashiro wrote:
> 
> 
> I sent this message hoping to get a response but all invain.
> I hereby send again in case it escaped others. I really need help
> Thanks.
> 
> 
> Hello,
> I will be grateful for any kind of help...
> 
> The authentication site is:
> https://www.ChangeIP.com/nic/update
> But httpclient always searches for authentication at:
> https://www.ChangeIP.com/
> 

I do not understand what you mean by 'searching' for authentication.


> This results in authentication failure.
> Even though I declare
> connectTo =https://www.ChangeIP.com/nic/update
> new AuthScope(connectTo, 443, realm)
> httpclient stops at https://www.ChangeIP.com/ and wait for authentication.
> 

The first parameter of AuthScope is expected to be a host name, not a
URI.

Hope this helps

Oleg


> Now my question is;
> how do I let httpclient to use hhttps://www.ChangeIP.com/nic/update
> instead of https://www.ChangeIP.com/ to search for authentication before the GET actually comes ?
> 
> Thanks in advance
> 
> Bashiro
> Drammen-Norway
> 
> 
> 
> _______________________________________________
> No banners. No pop-ups. No kidding.
> Make My Way  your home on the Web - http://www.myway.com
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 


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