Skip to content

Commit

Permalink
Add bytes to _RequestData type (#2510)
Browse files Browse the repository at this point in the history
  • Loading branch information
Massakera authored Feb 15, 2024
1 parent 74ccb96 commit 7533b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starlette/testclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit 7533b61

Please sign in to comment.