Deprecated send_file etag support and mimetype guessing for file-like objects. This fixes #104

This commit is contained in:
Armin Ronacher 2010-08-07 13:36:39 +02:00
parent faa1c71e45
commit fda14678c0
4 changed files with 116 additions and 32 deletions

View file

@ -13,6 +13,10 @@ Release date to be announced, codename to be selected
behaviour for `OPTIONS` responses.
- Unbound locals now raise a proper :exc:`RuntimeError` instead
of an :exc:`AttributeError`.
- Mimetype guessing and etag support based on file objects is now
deprecated for :func:`flask.send_file` because it was unreliable.
Pass filenames instead or attach your own etags and provide a
proper mimetype by hand.
Version 0.6.1
-------------