diff --git a/starlette/testclient.py b/starlette/testclient.py index 04ac90a057..a1ab6ff6d3 100644 --- a/starlette/testclient.py +++ b/starlette/testclient.py @@ -245,7 +245,6 @@ def handle_request(self, request: httpx.Request) -> httpx.Response: "scheme": scheme, "query_string": query.encode(), "headers": headers, - "client": ["testclient", 50000], "server": [host, port], "subprotocols": subprotocols, "state": self.app_state.copy(), @@ -263,7 +262,6 @@ def handle_request(self, request: httpx.Request) -> httpx.Response: "scheme": scheme, "query_string": query.encode(), "headers": headers, - "client": ["testclient", 50000], "server": [host, port], "extensions": {"http.response.debug": {}}, "state": self.app_state.copy(),