Skip to content

Conversation

@nipunn1313
Copy link
Contributor

Currently, you have to do a bit of a dance to convert it to a MIME and then to a ContentType. This is simpler! Some of the other headers have this functionality (eg ETag).

The implementation simply passes it through to the MIME underlying. Added a test as well.

Copy link
Member

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thanks!

@seanmonstar seanmonstar merged commit 92ed9d7 into hyperium:master Feb 20, 2023
@nipunn1313 nipunn1313 deleted the update_content_type branch February 21, 2023 23:37
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