Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Feb 27, 2015

Hello,

I have made this change when comparing media type header values in order to support custom media types that contain parameters. For example consider:

application/vnd.mine+json
and
application/vnd.mine+json; version 2

Those are effectively the same media types but the second contain a 'version' parameter. The existing comparison will not match it with the supported ones but the updated version will.

…ption so it can support parameters

This is to support custom media types that contain parameters. For
example:
application/vnd.mine+json
and
application/vnd.mine+json; version 2

those are effectively the same media types but the second contain a
'version' parameter. The existing comparison will not match it with the
Supported ones but the updated version will.
@filipw
Copy link
Owner

filipw commented Dec 29, 2016

Thanks - this is a good change but it needs to be applied to dev branch

@filipw filipw closed this Dec 29, 2016
@filipw filipw mentioned this pull request Dec 29, 2016
filipw added a commit that referenced this pull request Dec 29, 2016
fvanzee pushed a commit to fvanzee/Strathweb.CacheOutput that referenced this pull request Jan 21, 2019
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