Skip to content

Commit c299f9f

Browse files
committed
Corrected typing in Response.send
1 parent 55be729 commit c299f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_httpserver/response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def _check_chunked(self, expected_value: bool) -> None:
171171

172172
def send(
173173
self,
174-
body: str = "",
174+
body: Union[str, bytes] = "",
175175
content_type: str = None,
176176
) -> None:
177177
"""

0 commit comments

Comments
 (0)