Modify minos.plugins.aiohttp.AioHttpRequest to:
...
@cached_property
def headers(self) -> dict[str, str]:
"""Get the headers of the request.
:return: A dictionary in which keys are ``str`` instances and values are ``str`` instances.
"""
# noinspection PyTypeChecker
return self.raw.headers.copy()
...
Modify
minos.plugins.aiohttp.AioHttpRequestto:... @cached_property def headers(self) -> dict[str, str]: """Get the headers of the request. :return: A dictionary in which keys are ``str`` instances and values are ``str`` instances. """ # noinspection PyTypeChecker return self.raw.headers.copy() ...