Hi Dustin,

something is not clear for me. When you send a post request to your 
resource, is your "post" method called or not?
If not, there is a problem. Otherwise, as said Stephan, a redirection 
makes your browser makes automatically an additional GET request the new 
location.

Best regards,
Thierry Boileau

> Hi Dustin,
>
> 303 (see other) says, that the result is at the given location, and you 
> have to get it with GET. So the behaviour is right.
> Use 301 (Moved Permanently) or 307 (Temporary redirect).
> See http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection
>
> best regards
>    Stephan
>
> Dustin N. Jenkins schrieb:
>   
>> I'm using Java 6, Tomcat 6.0.20, RESTlet 2.0M5 on a Linux platform.
>>
>> After my business operations in my POST call, I simply call 
>> redirectSeeOther().  When I make POST calls to the Resource now, the log 
>> records it as a POST call, but my @Get method is being called instead.  
>> Does the redirectSeeOther() get cached somewhere or something?  Normally 
>> I'd see a POST followed by a GET in the log.  Is this a bug in the 
>> current 2.0 tree?  The snapshot is doing the same thing.
>>
>> I've used wget and browser clients just to test this.
>>
>> Thanks,
>> Dustin
>>
>>     
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2420195
>
>

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

Reply via email to