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
send_file should be able to guess default mime type from filename #1847
Comments
Patch is welcome. |
I just made a pull request (#1875). Are pull requests preferred, or should I attach a patch? |
jake3030
pushed a commit
to jake3030/rails
that referenced
this issue
Jun 28, 2011
…nce [rails#1847 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, send_file will use application/octet-stream as mime type per default although a correct mime type can be inferred from the file extension most of the time
The text was updated successfully, but these errors were encountered: