Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer committed Aug 23, 2024
1 parent f0c2c49 commit 4d8bafb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aiohttp/web_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class FileField:
filename: str
file: io.BufferedReader
content_type: str
headers: "CIMultiDictProxy[str]"
headers: CIMultiDictProxy[str]


_TCHAR: Final[str] = string.digits + string.ascii_letters + r"!#$%&'*+.^_`|~-"
Expand Down Expand Up @@ -171,7 +171,7 @@ def __init__(
self._payload_writer = payload_writer

self._payload = payload
self._headers = message.headers
self._headers: CIMultiDictProxy[str] = message.headers
self._method = message.method
self._version = message.version
self._cache: Dict[str, Any] = {}
Expand Down Expand Up @@ -483,7 +483,7 @@ def query_string(self) -> str:
return self._rel_url.query_string

@reify
def headers(self) -> "CIMultiDictProxy[str]":
def headers(self) -> CIMultiDictProxy[str]:
"""A case-insensitive multidict proxy with all headers."""
return self._headers

Expand Down

0 comments on commit 4d8bafb

Please sign in to comment.