8000 [HttpFoundation] Add links to RFC-7231 · src-run/symfony@c17a85b · GitHub
[go: up one dir, main page]

Skip to content

Commit c17a85b

Browse files
[HttpFoundation] Add links to RFC-7231
1 parent e62a390 commit c17a85b

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