@ -159,7 +159,7 @@ class Flask(_PackageBoundObject):
#: The class that is used for the Jinja environment.
#:
#: .. versionadded:: 0.11
#: .. versionadded:: 1.0
jinja_env_class = Environment
#: The class that is used for the :data:`~flask.g` instance.
@ -408,7 +408,7 @@ class Blueprint(_PackageBoundObject):
application-wide function of the :class:`~flask.Flask` object but
for error handlers limited to this blueprint.
.. versionadded:: 0.11
.. versionadded:: 1.0
"""
self.record_once(lambda s: s.app._register_error_handler(
self.name, code_or_exception, f))
@ -113,7 +113,7 @@ class Request(RequestBase):
is considered to include JSON data if the mimetype is
:mimetype:`application/json` or :mimetype:`application/*+json`.
mt = self.mimetype
if mt == 'application/json':