Skip to content

Commit

Permalink
Remove client scope from testclient
Browse files Browse the repository at this point in the history
  • Loading branch information
aminalaee committed Dec 16, 2023
1 parent a2a3df3 commit 55c8602
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions starlette/testclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand All @@ -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(),
Expand Down

0 comments on commit 55c8602

Please sign in to comment.