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

Change Request methods to be in line with PSR-7 #117

Merged
merged 1 commit into from
Feb 15, 2017

Conversation

clue
Copy link
Member

@clue clue commented Feb 15, 2017

Change Request methods to be in line with PSR-7

  • Rename getQuery() to getQueryParams()
  • Rename getHttpVersion() to getProtocolVersion()
  • Change getHeaders() to always return an array of string values
    for each header

Note that this does NOT implement the PSR-7 interfaces yet, it's merely a step towards removing differences between our interfaces and PSR-7.

Refs #28
Refs #103

* Rename getQuery() to getQueryParams()
* Rename getHttpVersion() to getProtocolVersion()
* Change `getHeaders()` to always return an array of string values
  for each header
@clue clue added this to the v0.5.0 milestone Feb 15, 2017
@WyriHaximus WyriHaximus merged commit 07f0c43 into reactphp:master Feb 15, 2017
@clue clue deleted the psr7-alike branch February 15, 2017 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants