forked from orbit-oss/flask
Deprecated send_file etag support and mimetype guessing for file-like objects. This fixes #104
This commit is contained in:
parent
faa1c71e45
commit
fda14678c0
4 changed files with 116 additions and 32 deletions
4
CHANGES
4
CHANGES
|
|
@ -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
|
||||
-------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue