Skip to content

Commit

Permalink
Update web_request.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Nov 13, 2023
1 parent 834a72e commit 1625e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp/web_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ def cookies(self) -> Mapping[str, str]:
A read-only dictionary-like object.
"""
raw = self.headers.get(hdrs.COOKIE, "")
parsed: SimpleCookie[str] = SimpleCookie(raw)
parsed = SimpleCookie(raw)
return MappingProxyType({key: val.value for key, val in parsed.items()})

@reify
Expand Down

0 comments on commit 1625e81

Please sign in to comment.