location they should go to next. This may be "chattier" but that's
On May 16, 5:55 am, mca <
m...@amundsen.com> wrote:
> Shashi:
>
> First, Fielding's dissertation has nothing to say about redirecting HTTP
> requests so you're not committing any "violation" of his style.
> Second, HTTP supports lots of possible redirection options (301, 302, 303)
> so you're not violating any protocol, either.
>
> Finally, you should keep in mind the way redirection works is that you tell
> the *client* too "go here to get your response"; it is essentially two
> requests now:
>
> 1) client sends POST request to some URI; server returns a 3xx response
> telling the client to
> 2) send a GET request to some URI
>
> this can, essentially double your traffic on the server. If you are paying
> per request, your costs go up directly<g>. Even if you are not paying per
> request, the added traffic might adversely affect your ability to scale
> your app up.
>
> there is also a very slight chance that some clients will not follow the
> redirection requests, but i think that's not a big consideration.
>
> FWIW, if this were my project, I'd work on changing the request/response
> pattern to reduce the number of redirects generated by the server.
>