def raise_301(instance, location):
    _set_location(instance, location)
    instance.response.status = 301
    raise ResponseException(instance.response)
Abort the current request with a 301 (Moved Permanently) response code.
dataset/ETHPy150Open pneff/wsgiservice/wsgiservice/status.py/raise_301