summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas <ketograph@users.noreply.github.com>2018-08-29 11:17:31 +0200
committerMarcel Hellkamp <marc@gsites.de>2019-12-01 20:27:53 +0100
commitb23f2e84b3fb6ac8247b8523fd9a80c5e4a1675e (patch)
treee60b1e0168c607e7d8073f51b89a88d79e46b626
parent977b589b4fb5a7032c188e583e7ce3f1a6fa38e2 (diff)
downloadbottle-b23f2e84b3fb6ac8247b8523fd9a80c5e4a1675e.tar.gz
redirect() raises HTTPResponse and not HTTPError
-rwxr-xr-xdocs/tutorial.rst2
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