This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component
Fabien Potencier 036fc36919 merged branch lyrixx/patch-1 (PR #3721)
Commits
-------

c73748f [HttpFoundation] Added RFC reference to 308
468ad40 [HttpFoundation] Added support for 308 / Permanent Redirect

Discussion
----------

[HttpFoundation] Added support for 308 / Permanent Redirect

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes (i guess) [![Build Status](https://secure.travis-ci.org/lyrixx/symfony.png?branch=patch-1)](http://travis-ci.org/lyrixx/symfony)
Fixes the following tickets: -
Todo: -

I know this is still a draft, but it is already implemented in Firefox.

See :

- http://tools.ietf.org/html/draft-reschke-http-status-308-07
- https://developer.mozilla.org/en/HTTP/HTTP_response_codes#308

---------------------------------------------------------------------------

by stloyd at 2012-03-29T09:25:20Z

It will be in Firefox... 14!

---------------------------------------------------------------------------

by fabpot at 2012-03-29T09:33:01Z

Like the non RFC 2616 status code, you need to add the RFC number as a comment (or the reference to the draft).

---------------------------------------------------------------------------

by lsmith77 at 2012-03-29T11:58:14Z

can you open a PR for https://github.com/FriendsOfSymfony/FOSRest/blob/master/Util/Codes.php ?

---------------------------------------------------------------------------

by lyrixx at 2012-03-29T12:08:31Z

@lsmith77 : Done. See : https://github.com/FriendsOfSymfony/FOSRest/pull/7 :)
2012-03-29 14:54:38 +02:00
..
BrowserKit moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
ClassLoader moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
Config moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
Console moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
CssSelector moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
DependencyInjection moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
DomCrawler moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
EventDispatcher moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
Filesystem Removed version field 2012-02-27 09:59:20 +01:00
Finder moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
Form moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
HttpFoundation [HttpFoundation] Added RFC reference to 308 2012-03-29 12:05:33 +02:00
HttpKernel moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
Locale moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
Process moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
Routing moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
Security moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
Serializer moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
Templating moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
Translation Added some skipifs to prevent fatal errors on missing extensions. 2012-03-29 15:19:53 +05:00
Validator moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
Yaml moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00