Update aiohttp to 3.9.0b0 (#101627)

This commit is contained in:
Marc Mueller 2023-10-08 13:21:46 +02:00 committed by GitHub
parent 8c26f66a57
commit 3155e62510
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 19 additions and 10 deletions

View file

@ -156,9 +156,8 @@ class HassIOView(HomeAssistantView):
# _stored_content_type is only computed once `content_type` is accessed
if path == "backups/new/upload":
# We need to reuse the full content type that includes the boundary
headers[
CONTENT_TYPE
] = request._stored_content_type # pylint: disable=protected-access
# pylint: disable-next=protected-access
headers[CONTENT_TYPE] = request._stored_content_type # type: ignore[assignment]
try:
client = await self._websession.request(