Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to infer MIME-type because no filename is available. #2143

Closed
RedBuld opened this issue Jan 7, 2017 · 1 comment
Closed

Unable to infer MIME-type because no filename is available. #2143

RedBuld opened this issue Jan 7, 2017 · 1 comment

Comments

@RedBuld
Copy link

RedBuld commented Jan 7, 2017

The Flask 0.12 apparently changed the name of the file transfer. everything is stable in Flask 0.11-0.11.1.

@davidism
Copy link
Member

davidism commented Jan 7, 2017

flask/CHANGES

Lines 27 to 30 in 71c534d

- Mimetype guessing and ETag generation for file-like objects in ``send_file``
has been removed, as per issue ``#104``. See pull request ``#1849``.
- Mimetype guessing in ``send_file`` now fails loudly and doesn't fall back to
``application/octet-stream``. See pull request ``#1988``.

#104 #1849 #1988

@davidism davidism closed this as completed Jan 7, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants