Thank you!

 

Cliff Binstock
Coyote Reporting

  _____  

From: Erik Beeson [mailto:[email protected]] 
Sent: Monday, March 16, 2009 4:09 PM
To: [email protected]
Subject: Re: POST redirect to GET

 

Go back and reread the HTTP spec.

 

In particular, read about "303 See Other" on the first hit here:

 

http://www.google.com/search?q=http+status

 

--Erik

 

 

On Mon, Mar 16, 2009 at 3:57 PM, Cliff Binstock
<[email protected]> wrote:

My apologies for asking what I think should be obvious.

I am using POST to upload files. Works great. When Im done, I want to return
to a standard GET URL. To do this, I am using:

response.redirectTemporary(newLoc);

My new location is a restlet route (of course!). It appears that the
redirect is getting a POST (remember Im inside of a POST), and not a GET.
How do I redirect, setLocation, etc. so that the next URL is a GET?

P.S., I tried ?method=get, but I suppose thats getting ignored because Im
not in a GET.

Thanks much,

Cliff Binstock

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

Reply via email to