Skip to content

Commit 7a86158

Browse files
[PR #11661/149a8105 backport][3.13] Fix type annotation (#11663)
**This is a backport of PR #11661 as merged into master (149a810).** Co-authored-by: Sam Bull <[email protected]>
1 parent 7e5a2d7 commit 7a86158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aiohttp/helpers.py

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

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

0 commit comments

Comments
 (0)