From c5f867314a58bc596972e0367406f55abb4eb8e7 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Fri, 24 Sep 2021 12:13:31 +0200 Subject: [PATCH] Response.encoding can be None --- stubs/requests/requests/models.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/requests/requests/models.pyi b/stubs/requests/requests/models.pyi index ff0822671842..957a0e074f78 100644 --- a/stubs/requests/requests/models.pyi +++ b/stubs/requests/requests/models.pyi @@ -93,7 +93,7 @@ class Response: headers: CaseInsensitiveDict[str] raw: Any url: str - encoding: str + encoding: str | None history: list[Response] reason: str cookies: RequestsCookieJar