Skip to content

Commit afede06

Browse files
Merge branch '2.8' into 3.1
* 2.8: [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 b3352ff + fa93eb6 commit afede06

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 the method is safe or not.
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
@@ -1487,6 +1489,8 @@ public function isMethodSafe(/* $andCacheable = true */)
14871489
/**
14881490
* Checks whether the method is cacheable or not.
14891491
*
1492+
* @see https://tools.ietf.org/html/rfc7231#section-4.2.3
1493+
*
14901494
* @return bool
14911495
*/
14921496
public function isMethodCacheable()

0 commit comments

Comments
 (0)