Redirects to the specified location using the provided http_code (defaults to HTTP_302 FOUND)

def to(location, code=falcon.HTTP_302):
    """Redirects to the specified location using the provided http_code (defaults to HTTP_302 FOUND)"""
    raise falcon.http_status.HTTPStatus(code, {'location': location})