10000 minor #20630 [HttpFoundation] Add links to RFC-7231 (nicolas-grekas) · src-run/symfony@bbddeec · GitHub
[go: up one dir, main page]

Skip to content

Commit bbddeec

Browse files
minor symfony#20630 [HttpFoundation] Add links to RFC-7231 (nicolas-grekas)
This PR was merged into the 2.7 branch. Discussion ---------- [HttpFoundation] Add links to RFC-7231 | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | no | Fixed tickets | - | License | MIT | Doc PR | - ping @xabbuh Commits ------- c17a85b [HttpFoundation] Add links to RFC-7231
2 parents 7b33c09 + c17a85b commit bbddeec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,6 +1466,8 @@ public function isMethod($method)
14661466
/**
14671467
* Checks whether the method is safe or not.
14681468
*
1469+
* @see https://tools.ietf.org/html/rfc7231#section-4.2.1
1470+
*
14691471
* @param bool $andCacheable Adds the additional condition that the method should be cacheable. True by default.
14701472
*
14711473
* @return bool
@@ -1478,6 +1480,8 @@ public function isMethodSafe(/* $andCacheable = true */)
14781480
/**
14791481
* Checks whether the method is cacheable or not.
14801482
*
1483+
* @see https://tools.ietf.org/html/rfc7231#section-4.2.3
1484+
*
14811485
* @return bool
14821486
*/
14831487
public function isMethodCacheable()

0 commit comments

Comments
 (0)
0