forked from orbit-oss/flask
rename send_file add_etags to etag
This commit is contained in:
parent
1936ca8a2e
commit
14f56363a4
2 changed files with 23 additions and 4 deletions
|
|
@ -49,7 +49,8 @@ Unreleased
|
|||
implementations in ``werkzeug.utils``. :pr:`3828`
|
||||
- Some ``send_file`` parameters have been renamed, the old names are
|
||||
deprecated. ``attachment_filename`` is renamed to ``download_name``.
|
||||
``cache_timeout`` is renamed to ``max_age``. :pr:`3828`
|
||||
``cache_timeout`` is renamed to ``max_age``. ``add_etags`` is
|
||||
renamed to ``etag``. :pr:`3828, 3883`
|
||||
- ``send_file`` passes ``download_name`` even if
|
||||
``as_attachment=False`` by using ``Content-Disposition: inline``.
|
||||
:pr:`3828`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue