Skip to content
Myr

0.11 => 1.0

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

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parent 08ac3aa · Browse files · 3 files+3 added−3 removed
This commit

State

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

Diff stats

3 files+3 added−3 removed

  • other:+3 added−3 removed

3 files+3 added−3 removed

modified:flask/app.py+1 added-1 removed
157 unmodified lines
158 response_class = Response159160 #: The class that is used for the Jinja environment.161 #:162 #: .. versionadded:: 0.11162 #: .. versionadded:: 1.0163 jinja_env_class = Environment164165 #: The class that is used for the :data:`~flask.g` instance.166 #:
1765 unmodified lines
modified:flask/blueprints.py+1 added-1 removed
406 unmodified lines
407 function, akin to the :meth:`~flask.Flask.register_error_handler`408 application-wide function of the :class:`~flask.Flask` object but409 for error handlers limited to this blueprint.410411 .. versionadded:: 0.11411 .. versionadded:: 1.0412 """413 self.record_once(lambda s: s.app._register_error_handler(414 self.name, code_or_exception, f))
modified:flask/wrappers.py+1 added-1 removed
111 unmodified lines
112 """Indicates if this request is JSON or not. By default a request113 is considered to include JSON data if the mimetype is114 :mimetype:`application/json` or :mimetype:`application/*+json`.115116 .. versionadded:: 0.11116 .. versionadded:: 1.0117 """118 mt = self.mimetype119 if mt == 'application/json':120 return True
83 unmodified lines