9669Re: [rest-discuss] 30x Status codes
- Oct 2, 2007Brandon Carlson wrote:
>It's a temporary redirect, so 307 would be correct.
> I seem to have lost rational thought at moment and would like some
> Let's assume a RESTful weather service with the URIs looking
> something like this:
> # Daily forecast
> forecast/2007/ 10/02
> # Today's forecast
> I would expect the URI for today's forecast to redirect to the
> forecast for today's date. My question is which redirect to use. My
> first thought is that I would use a 301, but then, the more I
> thought about it I think a 302/307 is the correct choice.
> What does the group think?
However, where's the point in forcing the redirect at all?
Best regards, Julian
- << Previous post in topic Next post in topic >>