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

Remove media_type_parameters #778

Merged
merged 4 commits into from
Nov 13, 2020

Conversation

Mr0grog
Copy link
Member

@Mr0grog Mr0grog commented Nov 12, 2020

This removes the Version#media_type_parameters field (it wasn’t useful) and changes the Versions#media_type field to a cleaned-up, normalized, canonicalized field (instead of just reflecting whatever the HTTP response’s Content-Type header had). This makes it dramatically more useful without removing canonical information stored elsewhere.

Fixes #752.

@Mr0grog
Copy link
Member Author

Mr0grog commented Nov 12, 2020

Taking a break, but will give this a once-over with fresher eyes in a couple hours and merge, then deploy alongside #777.

@Mr0grog Mr0grog mentioned this pull request Nov 12, 2020
@Mr0grog Mr0grog merged commit 4482f9e into main Nov 13, 2020
@Mr0grog Mr0grog deleted the 752-pedantic-management-of-media-types-is-not-useful branch November 13, 2020 00:49
Mr0grog added a commit that referenced this pull request Nov 13, 2020
Mr0grog added a commit that referenced this pull request Nov 13, 2020
This was supposed to be part of #778, but I forgot to commit the file!
Mr0grog added a commit that referenced this pull request Nov 13, 2020
This was supposed to be part of #778, but I forgot to commit the file!
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.

Refactor and normalize media type information
1 participant