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

Headers with multiple values #72

Open
g105b opened this issue May 20, 2021 · 0 comments
Open

Headers with multiple values #72

g105b opened this issue May 20, 2021 · 0 comments

Comments

@g105b
Copy link
Member

g105b commented May 20, 2021

Headers with multiple values are separated with a comma/semicolon (need clarification).

https://github.com/php-fig/http-message/blob/master/docs/PSR7-Usage.md#getting-array-of-value-from-a-header-also-applies-to-request

When constructing the headers, should this be parsed? For example, the default accept header from Firefox: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 - should this be split on the commas and added one by one?

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