forked from orbit-oss/flask
Allow Response subclasses to set default_mimetype as None
This matches the type - see 92c6380248/src/werkzeug/sansio/response.py (L94).
This commit is contained in:
parent
c9a5660cfd
commit
b626a93879
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue