Skip to content

Commit 95faa8e

Browse files
committed
Added a missing versionadded directive for 307/308 redirects
1 parent 53216d2 commit 95faa8e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

routing/redirect_in_config.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ action:
171171
Keeping the Request Method when Redirecting
172172
-------------------------------------------
173173

174+
.. versionadded:: 4.1
175+
The feature to keep the request method when redirecting was introduced in
176+
Symfony 4.1.
177+
174178
The redirections performed in the previous examples use the ``301`` and ``302``
175179
HTTP status codes. For legacy reasons, these HTTP redirections change the method
176180
of ``POST`` requests to ``GET`` (because redirecting a ``POST`` request didn't

0 commit comments

Comments
 (0)