You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Steve Gutz <sg...@ndevia.com> on 2002/07/11 12:20:54 UTC
Slide: Problem with current code stream and MSN
Using Windows XP you can create a shared web folder, which is actually a
WebDav directory on MSN. Their server uses redirects after it
authenticates, and when I use the current code to connect, it does not
follow the redirect to the proper location. I tried adding a
setFollowRedirects( true ) to the XMLResponseMethodBase class but that
just makes bad things happen.
Any ideas?
Steve Gütz
Chief Technology Officer
nDevia Networks
3815 Autumnwood St.
Gloucester, ON, K1T 9G9
Telephone: (613) 521-8894
Re: Slide: Problem with current code stream and MSN
Posted by A Felix <te...@yahoo.com>.
Steve,
HttpClient in Slide does not support redirects across
servers. You see, if the redirect is for a different
server, then it is the reason for the problem.
Whenever client gets a redirect, it takes out the path
from location specified in redirect and doesn't care
about the hostname.
I'm not sure about the HTTP specs in this regard but
it's not implemented because of security reasons.
Hope it helps!
-af
--- Steve Gutz <sg...@ndevia.com> wrote:
> Using Windows XP you can create a shared web folder,
> which is actually a
> WebDav directory on MSN. Their server uses
> redirects after it
> authenticates, and when I use the current code to
> connect, it does not
> follow the redirect to the proper location. I tried
> adding a
> setFollowRedirects( true ) to the
> XMLResponseMethodBase class but that
> just makes bad things happen.
>
> Any ideas?
>
>
> Steve G�tz
> Chief Technology Officer
> nDevia Networks
> 3815 Autumnwood St.
> Gloucester, ON, K1T 9G9
> Telephone: (613) 521-8894
>
>
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>