Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[PSR-7] Clarify MessageInterface::getHeaders() return value #347

Merged

Conversation

weierophinney
Copy link
Contributor

Per the mailing list, clarified the return value of getHeaders() to indicate the structure of the returned array:

  • Keys MUST be header names
  • Values MUST be arrays of strings

- Per [the mailing list](https://groups.google.com/d/msg/php-fig/H_NR7qctw-8/9jDffi4_j7cJ), clarified the return value of `getHeaders()` to indicate the structure of the returned array.
@weierophinney weierophinney force-pushed the hotfix/http-get-headers-return branch from 4082305 to bf8d3bd Compare October 13, 2014 15:33
@weierophinney weierophinney changed the title What you did PSR-7] Clarify MessageInterface::getHeaders() return value [PSR-7] Clarify MessageInterface::getHeaders() return value Oct 13, 2014
philsturgeon added a commit that referenced this pull request Oct 16, 2014
…turn

[PSR-7] Clarify MessageInterface::getHeaders() return value
@philsturgeon philsturgeon merged commit f86addc into php-fig:master Oct 16, 2014
@weierophinney weierophinney deleted the hotfix/http-get-headers-return branch October 16, 2014 16:47
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants