Module Expr Str ImportFrom alias Import alias FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str Raise Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults vararg kwarg body Expr Str Raise Call AttributeLoad NameLoad attr decorator_list
N/A N/A hug/redirect.py

Implements convience redirect methods that raise a redirection exception when called

Copyright (C) 2016  Timothy Edmund Crosley

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

 __future__ absolute_import N/A falcon to N/A N/A location code N/A N/A falcon HTTP_302 N/A N/A Redirects to the specified location using the provided http_code (defaults to HTTP_302 FOUND) N/A N/A N/A N/A falcon http_status HTTPStatus code N/A location location N/A permanent N/A N/A location N/A N/A N/A Redirects to the specified location using HTTP 301 status code N/A N/A to location N/A falcon HTTP_301 N/A found N/A N/A location N/A N/A N/A Redirects to the specified location using HTTP 302 status code N/A N/A to location N/A falcon HTTP_302 N/A see_other N/A N/A location N/A N/A N/A Redirects to the specified location using HTTP 303 status code N/A N/A to location N/A falcon HTTP_303 N/A temporary N/A N/A location N/A N/A N/A Redirects to the specified location using HTTP 304 status code N/A N/A to location N/A falcon HTTP_307 N/A not_found N/A N/A N/A args kwargs N/A N/A Redirects request handling to the not found render N/A N/A N/A falcon HTTPNotFound N/A