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

Set mimeType to the exactly type instead of 'application/octet-stream'? #30

Open
huan opened this issue Apr 25, 2020 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@huan
Copy link
Owner

huan commented Apr 25, 2020

When we use FileBox.fromURL(...), it might get a application/octet-stream stream back, and the mimeType will be set to application/octet-stream.

However, the fileBox.mimeType should be set to the exact type for the file, for example, jpg/gif, etc.

To be discussed.

@su-chang I'd like to hear from you because you have just deal with this problem. Please feel free to comment if you have any suggestions

@huan huan added the enhancement New feature or request label Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant