def to(location, code=falcon.HTTP_302):
 raise falcon.http_status.HTTPStatus(code, {'location': location})

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 .