forked from orbit-oss/flask
Expand docs on send_file option hook, #433.
This commit is contained in:
parent
f4a31db9f6
commit
146088d580
3 changed files with 21 additions and 5 deletions
4
CHANGES
4
CHANGES
|
|
@ -48,6 +48,10 @@ Relase date to be decided, codename to be chosen.
|
|||
- View functions can now return a tuple with the first instance being an
|
||||
instance of :class:`flask.Response`. This allows for returning
|
||||
``jsonify(error="error msg"), 400`` from a view function.
|
||||
- :class:`flask.Flask` now provides a `get_static_file_options` hook for
|
||||
subclasses to override behavior of serving static files through Flask,
|
||||
optionally by filename, which for example allows changing cache controls by
|
||||
file extension.
|
||||
|
||||
|
||||
Version 0.8.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue