diff --git a/bravado_asyncio/response_adapter.py b/bravado_asyncio/response_adapter.py index afe4581..9774086 100644 --- a/bravado_asyncio/response_adapter.py +++ b/bravado_asyncio/response_adapter.py @@ -5,7 +5,7 @@ from typing import TypeVar from bravado_core.response import IncomingResponse -from multidict import CIMultiDict +from multidict import CIMultiDictProxy from bravado_asyncio.definitions import AsyncioResponse @@ -46,7 +46,7 @@ def reason(self) -> str: ) # aiohttp 3.4.0 doesn't annotate this attribute correctly @property - def headers(self) -> CIMultiDict: + def headers(self) -> CIMultiDictProxy[str]: return self._delegate.headers def json(self, **_: Any) -> Dict[str, Any]: