def redirect(path):
    """ Redirect requests.

        :param str path: Rejection status code
        :return dict: Redirection response
    """
    res = {
        'statusCode': 301,
        'headers': {
            'Location': path,
        },
    }
    return res