users@jersey.java.net

Re: [Jersey] Re: http method of temporary redirect ??

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 28 Sep 2009 20:39:50 +0200

On Sep 28, 2009, at 8:18 PM, Felipe Gaścho wrote:

> rephrasing the question:
>
> I want to redirect a GET request to a POST request..
>
> is there any way of doing that ?
>

Redirect to a URL that only supports POST, which can be queried via
OPTIONS.

Otherwise you will have to supply some application specific semantics
(e.g. another HTTP header) to state the HTTP methods supported on the
redirection URL in the 307 response.

Paul.