Skip to content

Commit 9d13417

Browse files
Merge branch '3.1' into 3.2
* 3.1: [Routing] Fail properly when a route parameter name cannot be used as a PCRE subpattern name [FrameworkBundle] Improve performance of ControllerNameParser Update documentation link to the component [HttpFoundation] Add links to RFC-7231 [DI] Initialize properties before method calls Tag missing internals [WebProfilerBundle] Dont use request attributes in RouterController Fix complete config tests
2 parents ca0d187 + afede06 commit 9d13417

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Request.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,6 +1475,8 @@ public function isMethod($method)
14751475
/**
14761476
* Checks whether or not the method is safe.
14771477
*
1478+
* @see https://tools.ietf.org/html/rfc7231#section-4.2.1
1479+
*
14781480
* @param bool $andCacheable Adds the additional condition that the method should be cacheable. True by default.
14791481
*
14801482
* @return bool
@@ -1505,6 +1507,8 @@ public function isMethodIdempotent()
15051507
/**
15061508
* Checks whether the method is cacheable or not.
15071509
*
1510+
* @see https://tools.ietf.org/html/rfc7231#section-4.2.3
1511+
*
15081512
* @return bool
15091513
*/
15101514
public function isMethodCacheable()

0 commit comments

Comments
 (0)