Loading ...
Sorry, an error occurred while loading the content.

966830x Status codes

Expand Messages
  • Brandon Carlson
    Oct 2, 2007
    • 0 Attachment
      All,

      I seem to have lost rational thought at moment and would like some
      advice.

      Let's assume a RESTful weather service with the URIs looking
      something like this:

      # Daily forecast
      forecast/2007/10/02

      # Today's forecast
      forecast/today

      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?

      Thanks!
      Brandon
    • Show all 15 messages in this topic