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

Use mimetypes from standard library #158

Open
brokkr opened this issue Jul 28, 2021 · 0 comments
Open

Use mimetypes from standard library #158

brokkr opened this issue Jul 28, 2021 · 0 comments
Milestone

Comments

@brokkr
Copy link
Owner

brokkr commented Jul 28, 2021

When downloading, especially with images, it is often necessary to rely on mimetypes to know the extension of the file. Instead of building ouw own dictionary, it might be preferable to use the in-library mimetypes module.

https://docs.python.org/3.6/library/mimetypes.html

@brokkr brokkr added this to the 2.0 milestone Jul 28, 2021
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

1 participant