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

Fix mimetype handling on windows #259

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Fix mimetype handling on windows #259

merged 1 commit into from
Nov 27, 2023

Conversation

eyurtsev
Copy link
Collaborator

@eyurtsev eyurtsev commented Nov 27, 2023

This PR fixes handling of mimetypes on windows machines:

Needed due to issue: https://bugs.python.org/issue43975

Resolves issue: #245

Chose not to use mimetypes.init since that's using a singleton pattern and worried that users will be likely to run into issues since the server may be parsing files which may also end up using mimetype guessing based on file extension

@cla-bot cla-bot bot added the cla-signed label Nov 27, 2023
@eyurtsev eyurtsev changed the title Fix mimetype handling Fix mimetype handling on windows Nov 27, 2023
@eyurtsev eyurtsev merged commit af904f5 into main Nov 27, 2023
11 checks passed
@eyurtsev eyurtsev deleted the eugene/mime_type branch November 27, 2023 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant