FriendsOfSymfony/FOSRestBundle — pull request #574 by merk (2013-10-06 04:05:35+00:00)
Title: Change how redirections are created

Instead of changing RouteRedirectView's status code default, I thought it'd be better if we implement the helper methods on the View object with the correct status codes and deprecate the *RedirectView helpers in a later version.

I was unsure if we wanted to implement 2 additional methods, for example: `createContentRedirect` and `createContentRouteRedirect` which would default to 201 or 202.

This solves the initial problem I reported in #547, but hasn't solved the underlying cause which I intend on sending a pull request shortly to add another configuration option to the @View annotation to handle.