Hi Thierry,

thank you for your help.


It seems, that the redirection works now, but in my GWT application I can
not see any correct answer. Firefox/Firebug sais:
Request header:
GET /redirect/RESTfulServices/resources/customers/pkey/2176172632 HTTP/1.1
Host: 127.0.0.1:8888
User-Agent: Restlet-Framework/2.0snapshot
Accept: */*
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://127.0.0.1:8888/testrestlet/hosted.html?testrestlet



Answer header:
HTTP/1.1 400 Bad Request
Content-Location:
http://localhost:8080/RESTfulServices/resources/customers/pkey/2176172632
Date: Wed, 24 Feb 2010 09:10:34 GMT
Accept-Ranges: bytes
Server: Apache-Coyote/1.1
Transfer-Encoding: chunked


When I open the
http://localhost:8080/RESTfulServices/resources/customers/pkey/2176172632 in
a separate Firefox window, a correct answer is returned... (Is it because of
the same origin policy?) It seems that this URL is called from the browser
and not tunneled through the server...


Thanks,


ab
-- 
View this message in context: 
http://n2.nabble.com/How-to-write-an-Universal-redirector-tp4620578p4624601.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2451418

Reply via email to