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

get_type('text/plain') #30

Closed
guettli opened this issue Nov 29, 2018 · 1 comment
Closed

get_type('text/plain') #30

guettli opened this issue Nov 29, 2018 · 1 comment

Comments

@guettli
Copy link

guettli commented Nov 29, 2018

I can understand that detecting text/plain is hard.

But it would be great if I could guess the file extension if the mime-type is known.

Please make get_type('text/plain') work.

Thank you

@h2non
Copy link
Owner

h2non commented Nov 29, 2018

That's out of scope of this library. We only support binary formats that provide magic number bytes in the file header.

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

No branches or pull requests

2 participants