send_file doesn't allow StringIO

This commit is contained in:
David Lord 2019-11-18 23:34:45 -08:00
parent 2659f0a5e6
commit 980168d084
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 104 additions and 96 deletions

View file

@ -13,6 +13,9 @@ Unreleased
- The ``flask run`` command will only defer errors on reload. Errors
present during the initial call will cause the server to exit with
the traceback immediately. :issue:`3431`
- :func:`send_file` raises a :exc:`ValueError` when passed an
:mod:`io` object in text mode. Previously, it would respond with
200 OK and an empty file. :issue:`3358`
Version 1.1.2