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

const utf8 mime #105

Merged
merged 2 commits into from
Apr 23, 2020
Merged

const utf8 mime #105

merged 2 commits into from
Apr 23, 2020

Conversation

yoshuawuyts
Copy link
Member

Closes #52. This allows our mime types to be const initialized with utf-8 declared. The way we achieve this is more or less a hack (we're using enums), but it's the best we got until we can initialize HashMap during const. This also allows us to remove some extra code from the tests. Thanks!

@yoshuawuyts yoshuawuyts added this to the breaking milestone Apr 21, 2020
@yoshuawuyts yoshuawuyts changed the title Utf 8 mime const utf8 mime Apr 21, 2020
@yoshuawuyts yoshuawuyts merged commit 2927208 into master Apr 23, 2020
@yoshuawuyts yoshuawuyts deleted the utf-8-mime branch April 23, 2020 13:07
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.

Allow mime const initialization with attributes
1 participant