Skip to content

Commit 7533b61

Browse files
authored
Add bytes to _RequestData type (#2510)
1 parent 74ccb96 commit 7533b61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

starlette/testclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
ASGI3App = typing.Callable[[Scope, Receive, Send], typing.Awaitable[None]]
4747

4848

49-
_RequestData = typing.Mapping[str, typing.Union[str, typing.Iterable[str]]]
49+
_RequestData = typing.Mapping[str, typing.Union[str, typing.Iterable[str], bytes]]
5050

5151

5252
def _is_asgi3(app: ASGI2App | ASGI3App) -> TypeGuard[ASGI3App]:

0 commit comments

Comments
 (0)