Hi Koen, That automatic redirection following might be out of GWT control as it relies on the browser HTTP stack.
Did you try to call ClientResource#setFollowingRedirects(false)? Best regards, Jerome 2012/11/15 Thierry Boileau <[email protected]> > Hi Koen, > > I've added you as approved suscriber... > > Bes tregards, > Thierry Boileau > > > Ok, more investigation shows that I *can* get hold of all the data in case >> of a error status code via the clientresource->getresponse. That's just >> fine. >> >> Except for redirection, because this is automatically being followed. So >> my GWT call receives the HTML of the login after redirection. >> >> How do I deal with that ? I would rather receive the redirection status >> code and redirect the whole webapp then receive the HTML when calling for >> e.g. a list of contacts. >> >> >> PS: I can't reply to the prev msg because it is not yet approved :-/ >> >> ------------------------------------------------------ >> >> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3028140 >> > > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3029690

