We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8f6bda commit e21cf2fCopy full SHA for e21cf2f
routing/redirect_trailing_slash.rst
@@ -28,7 +28,7 @@ new URL with a 308 (*HTTP Permanent Redirect*) response status code::
28
$url = str_replace($pathInfo, rtrim($pathInfo, ' /'), $requestUri);
29
30
// 308 (Permanent Redirect) is similar to 301 (Moved Permanently) except
31
- // that it does not allow changing the request method from POST to GET
+ // that it does not allow changing the request method (e.g. from POST to GET)
32
return $this->redirect($url, 308);
33
}
34
0 commit comments