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

This comment has been minimized.

Copy link
Member

@davidism 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 Jan 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.