def METHOD_NAME():
    sa = core.Core()
    with taddons.context(loadcore=False):
        f = tflow.tflow()
        assert sa.encode_options()
        sa.encode([f], "request", "deflate")
        assert f.request.headers["content-encoding"] == "deflate"
        sa.encode([f], "request", "br")
        assert f.request.headers["content-encoding"] == "deflate"
        sa.decode([f], "request")
        assert "content-encoding" not in f.request.headers
        sa.encode([f], "request", "br")
        assert f.request.headers["content-encoding"] == "br"
        sa.encode_toggle([f], "request")
        assert "content-encoding" not in f.request.headers
        sa.encode_toggle([f], "request")
        assert f.request.headers["content-encoding"] == "deflate"
        sa.encode_toggle([f], "request")
        assert "content-encoding" not in f.request.headers