Skip to content

Commit 149a810

Browse files
Fix type annotation (aio-libs#11661)
1 parent cde03b9 commit 149a810

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aiohttp/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def __init__(self) -> None:
364364
# https://www.rfc-editor.org/rfc/rfc9110#section-8.3-5
365365
self.set_default_type("application/octet-stream")
366366

367-
def get_content_type(self) -> Any:
367+
def get_content_type(self) -> str:
368368
"""Re-implementation from Message
369369
370370
Returns application/octet-stream in place of plain/text when

0 commit comments

Comments
 (0)