def redirect(target):
    """
    Returns a redirect map to the target provided
    """
    return {
        'status': '302',
        'statusDescription': 'Found',
        'headers': {
            'location': [{
                'key': 'Location',
                'value': target
            }]
        }
    }