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

Purposes Extension: Exclude comma from the DNT-Consent syntax #97

Open
royfielding opened this issue Aug 6, 2018 · 1 comment
Open

Comments

@royfielding
Copy link
Collaborator

Since HTTP uses the comma for joining header fields that are received multiple times, it can be ambiguous when the field syntax is allowed to contain bare (unquoted) commas. That's why most HTTP header fields use semicolons where one would normally use commas in English.

The experts usually recommend that comma be excluded from the field syntax of new header fields. IOW, exclude %2C:

        DNT-Consent = %x21-7E ; excludes CTL, SP

changes to

        DNT-Consent = %x21-2B / %x2D-7E ; excludes CTL, SP, ","
@royfielding
Copy link
Collaborator Author

and change the example in 3.2.1 that uses a comma

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

No branches or pull requests

1 participant