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

Added more consice mime types to default standards #396

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

boris-glumpler
Copy link
Contributor

This is the PR for #393

I ended up adding the mime type to the standard and then passing it from there directly to the response builder. The advantage being that any custom standard will be supported. It is a breaking change though. Alternatively, I could just resubmit a PR with just a regular match statement within ResponseBuilder::createResponse().

@alexdebril alexdebril merged commit f5f06ea into alexdebril:main Apr 14, 2022
@boris-glumpler
Copy link
Contributor Author

Thanks @alexdebril, appreciate it!

@boris-glumpler boris-glumpler deleted the mime-types branch April 14, 2022 12:32
@alexdebril
Copy link
Owner

You're welcome! it's shipped in version 5.1.0

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.

2 participants