Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Allow Response subclasses to set default_mimetype as None

authored by David Lord · committed by GitHub · parents c9a5660, b626a93 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/flask/wrappers.py+1 added-1 removed
149 unmodified lines
150151 Added :attr:`max_cookie_size`.152 """153154 default_mimetype = "text/html"154 default_mimetype: t.Optional[str] = "text/html"155156 json_module = json157158 autocorrect_location_header = False
13 unmodified lines