Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update http_exceptions.py
  • Loading branch information
Dreamsorcerer authored Oct 25, 2025
commit a49f573c3916b26cc978b0aac7b2cd64196fd1c3
6 changes: 3 additions & 3 deletions aiohttp/http_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from textwrap import indent

from .typedefs import _CIMultiDict
from multidict import CIMultiDict

__all__ = ("HttpProcessingError",)

Expand All @@ -26,7 +26,7 @@ def __init__(
*,
code: int | None = None,
message: str = "",
headers: _CIMultiDict | None = None,
headers: CIMultiDict[str] | None = None,
) -> None:
if code is not None:
self.code = code
Expand All @@ -45,7 +45,7 @@ class BadHttpMessage(HttpProcessingError):
code = 400
message = "Bad Request"

def __init__(self, message: str, *, headers: _CIMultiDict | None = None) -> None:
def __init__(self, message: str, *, headers: CIMultiDict[str] | None = None) -> None:
super().__init__(message=message, headers=headers)
self.args = (message,)

Expand Down
Loading