diff --git a/starlette/testclient.py b/starlette/testclient.py index 90eb53e3d..e7291a208 100644 --- a/starlette/testclient.py +++ b/starlette/testclient.py @@ -46,7 +46,7 @@ ASGI3App = typing.Callable[[Scope, Receive, Send], typing.Awaitable[None]] -_RequestData = typing.Mapping[str, typing.Union[str, typing.Iterable[str]]] +_RequestData = typing.Mapping[str, typing.Union[str, typing.Iterable[str], bytes]] def _is_asgi3(app: ASGI2App | ASGI3App) -> TypeGuard[ASGI3App]: