diff options
author | Thomas <ketograph@users.noreply.github.com> | 2018-08-29 11:17:31 +0200 |
---|---|---|
committer | Marcel Hellkamp <marc@gsites.de> | 2019-12-01 20:27:53 +0100 |
commit | b23f2e84b3fb6ac8247b8523fd9a80c5e4a1675e (patch) | |
tree | e60b1e0168c607e7d8073f51b89a88d79e46b626 | |
parent | 977b589b4fb5a7032c188e583e7ce3f1a6fa38e2 (diff) | |
download | bottle-b23f2e84b3fb6ac8247b8523fd9a80c5e4a1675e.tar.gz |
redirect() raises HTTPResponse and not HTTPError
-rwxr-xr-x | docs/tutorial.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 06e40f9..3be4fee 100755 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -362,7 +362,7 @@ To redirect a client to a different URL, you can send a ``303 See Other`` respon You may provide a different HTTP status code as a second parameter. .. note:: - Both functions will interrupt your callback code by raising an :exc:`HTTPError` exception. + Both functions will interrupt your callback code by raising an :exc:`HTTPResponse` exception. .. rubric:: Other Exceptions |