def METHOD_NAME(temp_dir):
    action_update(
        {"share": f'{temp_dir}/assets$uri', "types": ["!APpliCaTiOn/xMl"]}
    )
    check_body('/file.mp4', '.mp4')
    assert (
        client.get(url='/file.xml')['status'] == 403
    ), 'mixed case xml negation'
    action_update({"share": f'{temp_dir}/assets$uri', "types": ["vIdEo/mp4"]})
    assert client.get(url='/file.mp4')['status'] == 200, 'mixed case'
    assert (
        client.get(url='/file.xml')['status'] == 403
    ), 'mixed case video negation'
    action_update({"share": f'{temp_dir}/assets$uri', "types": ["vIdEo/*"]})
    check_body('/file.mp4', '.mp4')
    assert (
        client.get(url='/file.xml')['status'] == 403
    ), 'mixed case video * negation'