Re: [Jwap-info] URL Redirection Header Problems
Brought to you by:
mcdmx,
nikobender
|
From: Michel M. <mc...@us...> - 2004-07-07 15:27:32
|
Quoting Domingo Morales <dom...@zw...>: > I have been testing the jWAP package and it has worked > very well. Nice to hear :-) > However, today I found a problem and it seems to me that it is > related with the management of URL redirections (different to a WAP Gateway > redirection) because there is no method to set a > "setFollowRedirects(true)". That's correct, HTTP-Redirects (using 30x and a "Location" header) are not yet followed. Currently You must provide this functionality yourself (if you use the WAPClient class, you can examine the status code provided by the "Response" object and if it signals a redirect, take the Location header and issue another "execute()" call). I agree with you that "Request" should have something like "setFollowRedirects(boolean)". Any volunteers? Regards, Michel |