Skip to content

Commit

Permalink
Add bytes to _RequestData type (encode#2510)
Browse files Browse the repository at this point in the history
  • Loading branch information
Massakera authored and Rocky Allen committed Mar 18, 2024
1 parent acee5bc commit 604a0ca
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 604a0ca

Please sign in to comment.