Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Symfony][Router] Set the default method for a route to "GET"
* I always sspecify the method(s) in my route declaration and it's boring * Allowing by default all methods does not make sens * Allowing by default all methods can be a security issue, because someone can DDOS the application by sending POST request, to a resource that is usually cached (but only for GET) * explicit is better than implicit
- Loading branch information