Skip to content
Myr

Allow Response subclasses to set default_mimetype as None

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

This matches the type - see https://github.com/pallets/werkzeug/blob/92c6380248c7272ee668e1f8bbd80447027ccce2/src/werkzeug/sansio/response.py#L94.

authored by Adam Dangoor · committed by David Lord · parent c9a5660 · 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