redirect defaults to 303
This commit is contained in:
parent
eb58d862cc
commit
eca5fd1dfd
4 changed files with 14 additions and 3 deletions
|
|
@ -596,7 +596,7 @@ This specifies that ``/users/`` will be the URL for page one and
|
|||
``/users/page/N`` will be the URL for page ``N``.
|
||||
|
||||
If a URL contains a default value, it will be redirected to its simpler
|
||||
form with a 301 redirect. In the above example, ``/users/page/1`` will
|
||||
form with a 308 redirect. In the above example, ``/users/page/1`` will
|
||||
be redirected to ``/users/``. If your route handles ``GET`` and ``POST``
|
||||
requests, make sure the default route only handles ``GET``, as redirects
|
||||
can't preserve form data. ::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue