Skip to content

Use MIME parameters to match Accept header#1574

Merged
davidism merged 2 commits intopallets:masterfrom
johnzeringue:check-mime-parameters
Sep 5, 2019
Merged

Use MIME parameters to match Accept header#1574
davidism merged 2 commits intopallets:masterfrom
johnzeringue:check-mime-parameters

Conversation

@johnzeringue
Copy link
Copy Markdown
Contributor

Previously, we didn't parse MIME parameters or use them to match or
prioritize content types. Now, we'll normalize and compare MIME
parameters and consider a MIME type with parameters higher priority than
one without them.

Fixes #458

@johnzeringue johnzeringue force-pushed the check-mime-parameters branch 2 times, most recently from 3b6ac89 to be2ff1c Compare May 31, 2019 18:29
@davidism davidism force-pushed the check-mime-parameters branch from be2ff1c to 69d7c4c Compare July 14, 2019 16:39
@davidism davidism added this to the 1.0.0 milestone Jul 14, 2019
johnzeringue and others added 2 commits September 5, 2019 09:23
Previously, we didn't parse MIME parameters or use them to match or
prioritize content types. Now, we'll normalize and compare MIME
parameters and consider a MIME type with parameters higher priority than
one without them.

Fixes pallets#458
@davidism davidism force-pushed the check-mime-parameters branch from 69d7c4c to 37b3c48 Compare September 5, 2019 17:36
@davidism davidism merged commit 94f2878 into pallets:master Sep 5, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MIMEAccept doesn't respect specificity

2 participants