def METHOD_NAME(temp_dir):
    action_update(
        {"share": f"{temp_dir}/assets$uri", "fallback": {"return": 200}}
    )
    resp = client.get()
    assert resp['status'] == 200, 'fallback status'
    assert resp['body'] == '0123456789', 'fallback'
    resp = client.get(url='/403/')
    assert resp['status'] == 200, 'fallback status 403'
    assert resp['body'] == '', 'fallback 403'
    resp = client.post()
    assert resp['status'] == 200, 'fallback status 405'
    assert resp['body'] == '', 'fallback 405'
    assert client.get(url='/dir')['status'] == 301, 'fallback status 301'