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

Quoted string parameters #10

Open
zmthy opened this issue Feb 11, 2015 · 0 comments
Open

Quoted string parameters #10

zmthy opened this issue Feb 11, 2015 · 0 comments
Labels

Comments

@zmthy
Copy link
Owner

zmthy commented Feb 11, 2015

According to RFC 7231, parameter values can be quoted, and the quoted form should be considered equivalent to the unquoted form.

A parameter value that matches the token production can be transmitted either as a token or within a quoted-string. The quoted and unquoted values are equivalent. For example, the following examples are all equivalent, but the first is preferred for consistency:

text/html;charset=utf-8
text/html;charset=UTF-8
Text/HTML;Charset="utf-8"
text/html; charset="utf-8"

RFC 7230 defines the syntax of quoted-string.

@zmthy zmthy added the bug label Feb 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant