diff --git a/stubs/requests/requests/sessions.pyi b/stubs/requests/requests/sessions.pyi index 49c69d3da6a6..5b156d641783 100644 --- a/stubs/requests/requests/sessions.pyi +++ b/stubs/requests/requests/sessions.pyi @@ -82,7 +82,7 @@ _Verify: TypeAlias = bool | str class Session(SessionRedirectMixin): __attrs__: Any - headers: CaseInsensitiveDict[str | bytes] + headers: CaseInsensitiveDict[str] | CaseInsensitiveDict[bytes] | CaseInsensitiveDict[str | bytes] auth: _Auth | None proxies: _TextMapping hooks: _Hooks