rename send_file add_etags to etag

This commit is contained in:
David Lord 2021-01-29 10:44:46 -08:00
parent 1936ca8a2e
commit 14f56363a4
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 23 additions and 4 deletions

View file

@ -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`