Lots of great stuff. The JSON stuff is moving in the right direction.
My two favorites:
~flask.Flask.get_send_file_max_agehook for subclasses to override behavior of serving static files from Flask when using :meth:
flask.Flask.send_static_file(used for the default static file handler) and :func:
~flask.helpers.send_file. This hook is provided a filename, which for example allows changing cache controls by file extension. The default max-age for
send_fileand static files can be configured through a new
SEND_FILE_MAX_AGE_DEFAULTconfiguration variable, which is used in the default