Typo in docs about default redirect status code (#1589)

This commit is contained in:
David Larlet 2022-03-05 20:58:31 -05:00 committed by GitHub
commit 0499f174c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -428,7 +428,7 @@ You can use the ``custom_redirect(location)`` function to redirect users to anot
Now requests to ``http://localhost:8001/datasette`` will result in a redirect.
These redirects are served with a ``301 Found`` status code by default. You can send a ``301 Moved Permanently`` code by passing ``301`` as the second argument to the function:
These redirects are served with a ``302 Found`` status code by default. You can send a ``301 Moved Permanently`` code by passing ``301`` as the second argument to the function:
.. code-block:: jinja