forked from orbit-oss/flask
Merge pull request #5034 from adamtheturtle/default-mimetype-optional
Allow Response subclasses to set default_mimetype as None
This commit is contained in:
commit
e1e4e82096
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ class Response(ResponseBase):
|
||||||
Added :attr:`max_cookie_size`.
|
Added :attr:`max_cookie_size`.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
default_mimetype = "text/html"
|
default_mimetype: t.Optional[str] = "text/html"
|
||||||
|
|
||||||
json_module = json
|
json_module = json
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue