def METHOD_NAME():
    server_protocol = None
    def app(environ, start_response):
        nonlocal server_protocol
        server_protocol = environ["SERVER_PROTOCOL"]
        start_response("200 OK", [("Content-Type", "text/plain")])
        return [b"success"]
    with httpx.Client(app=app, base_url="http://testserver") as client:
        response = client.get("/")
    assert response.status_code == 200
    assert response.text == "success"
    assert server_protocol == "HTTP/1.1"