Merge pull request #5034 from adamtheturtle/default-mimetype-optional

Allow Response subclasses to set default_mimetype as None
This commit is contained in:
David Lord 2023-04-12 13:43:23 -07:00 committed by GitHub
commit e1e4e82096
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,7 +151,7 @@ class Response(ResponseBase):
Added :attr:`max_cookie_size`.
"""
default_mimetype = "text/html"
default_mimetype: t.Optional[str] = "text/html"
json_module = json