Skip to content

Commit e4f8285

Browse files
committed
Fix typo and add link to RFC in documentation on match
1 parent 58ce894 commit e4f8285

File tree

1 file changed

+3
-2
lines changed
  • Resources/doc/reference/configuration

1 file changed

+3
-2
lines changed

Resources/doc/reference/configuration/match.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ regular expressions.
128128

129129
**type**: ``array``
130130

131-
By defaut, a rule will only match cacheable status codes: 200, 203, 300, 301,
132-
302, 404 and 410.
131+
By default, a rule will only match cacheable status codes: 200, 203, 300, 301,
132+
302, 404 and 410 (as described in the `RFC 7231`_).
133133

134134
`additional_cacheable_status` let you define a list of additional HTTP
135135
status codes of the response for which to also apply the rule.
@@ -167,3 +167,4 @@ inside the same rule.
167167

168168
.. _Trusting Proxies: http://symfony.com/doc/current/components/http_foundation/trusting_proxies.html
169169
.. _controllers as services: http://symfony.com/doc/current/cookbook/controller/service.html
170+
.. _RFC 7231: http://tools.ietf.org/html/rfc7231#page-48

0 commit comments

Comments
 (0)