Skip to content

let acceptable types specify their quality#26

Merged
wojcikstefan merged 3 commits into
masterfrom
q-support-in-acceptable-types
Oct 16, 2016
Merged

let acceptable types specify their quality#26
wojcikstefan merged 3 commits into
masterfrom
q-support-in-acceptable-types

Conversation

@wojcikstefan
Copy link
Copy Markdown
Collaborator

@wojcikstefan wojcikstefan commented Sep 28, 2016

This way, we allow applications server-side to define what is the most desirable mime type in cases where */* was requested.

As RFC 7231 Section 5.3.1 says:

This weight is referred to as a "quality value" (or "qvalue") because the same parameter name is often used within server configurations to assign a weight to the relative quality of the various representations that can be selected for a resource.

@wojcikstefan wojcikstefan merged commit 99d9699 into master Oct 16, 2016
wojcikstefan added a commit that referenced this pull request Oct 16, 2016
@wojcikstefan wojcikstefan deleted the q-support-in-acceptable-types branch August 7, 2020 06:36
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.

1 participant