Skip to content

Commit dea08fd

Browse files
[PR #11661/149a8105 backport][3.14] Fix type annotation (#11664)
**This is a backport of PR #11661 as merged into master (149a810).** Co-authored-by: Sam Bull <git@sambull.org>
1 parent e162e4b commit dea08fd

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
@@ -355,7 +355,7 @@ def __init__(self) -> None:
355355
# https://www.rfc-editor.org/rfc/rfc9110#section-8.3-5
356356
self.set_default_type("application/octet-stream")
357357

358-
def get_content_type(self) -> Any:
358+
def get_content_type(self) -> str:
359359
"""Re-implementation from Message
360360
361361
Returns application/octet-stream in place of plain/text when

0 commit comments

Comments
 (0)