def to(location, code=falcon.HTTP_302):
    raise falcon.http_status.HTTPStatus(code, {'location': location})
Redirects to the specified location using the provided http_code (defaults to HTTP_302 FOUND)
dataset/ETHPy150Open timothycrosley/hug/hug/redirect.py/to