Skip to content

Commit 59c6e20

Browse files
committed
minor #9950 Added a missing versionadded directive for 307/308 redirects (javiereguiluz)
This PR was merged into the 4.1 branch. Discussion ---------- Added a missing versionadded directive for 307/308 redirects We missed this. Commits ------- 95faa8e Added a missing versionadded directive for 307/308 redirects
2 parents 53216d2 + 95faa8e commit 59c6e20

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)