symfony/symfony — pull request #12165 by NAYZO (2014-10-07 11:26:51+00:00)
Title: [FrameworkBundle] Update redirection status

IMO, we should use the ``301`` status code in redirection as a default value instead of ``302`` status, since it's ``SEO`` friendly (302 is not) and because most of the web redirection are ``permanent`` and not ``temporarily``. In this case the user can chose to use a ``302`` status for ``temporarily`` redirection if he want.

| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | NA
| License | MIT
| Doc PR | NA