Skip to content

Commit 407ad69

Browse files
jderussewouterj
andauthored
Update reference/configuration/framework.rst
Co-authored-by: Wouter J <wouterj@users.noreply.github.com>
1 parent 2da8ac3 commit 407ad69

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

reference/configuration/framework.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -959,16 +959,13 @@ value must use the format ``['header-name' => 'value0, value1, ...']``.
959959
http_codes
960960
..........
961961

962-
**type**: ``array`` **default**: empty
962+
**type**: ``array`` **default**: :method:`Symfony\\Component\\HttpClient\\Retry\\GenericRetryStrategy::DEFAULT_RETRY_STATUS_CODES`
963963

964964
.. versionadded:: 5.2
965965

966966
The ``http_codes`` option was introduced in Symfony 5.2.
967967

968968
The list of HTTP status codes that triggers a retry of the request.
969-
When an empty array is provided, the default values from
970-
:method:`Symfony\\Component\\HttpClient\\Retry\\GenericRetryStrategy::DEFAULT_RETRY_STATUS_CODES`.
971-
is used.
972969

973970
http_version
974971
............

0 commit comments

Comments
 (0)