1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
.. _redirects:
Redirection
===========
Falcon defines a set of exceptions that can be raised within a
middleware method, hook, or responder in order to trigger
a 3xx (Redirection) response to the client. Raising one of these
classes short-circuits request processing in a manner similar to
raising an instance or subclass of :py:class:`~.HTTPError`.
.. autoexception:: falcon.HTTPMovedPermanently
.. autoexception:: falcon.HTTPFound
.. autoexception:: falcon.HTTPSeeOther
.. autoexception:: falcon.HTTPTemporaryRedirect
.. autoexception:: falcon.HTTPPermanentRedirect
|