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

Honor native content type from s3 based storage #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cbillen
Copy link

@cbillen cbillen commented Oct 17, 2021

When the file was not originally uploaded by dragonfly and does not have the x-amz-meta-extra header with the name out of which the extension and mime type can be derived, this pull request provides a fall back method to inherit it

It reduces the case where the file is served as application/octet-stream as the fall back default.

@cbillen
Copy link
Author

cbillen commented Dec 17, 2021

Thoughts? concerns? @markevans

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant