Skip to content

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