Skip to content

Fix ignoring invalid incoming Transfer-Encoding response header#122

Merged
jsor merged 1 commit intoreactphp:masterfrom
clue-labs:headers
Feb 8, 2018
Merged

Fix ignoring invalid incoming Transfer-Encoding response header#122
jsor merged 1 commit intoreactphp:masterfrom
clue-labs:headers

Conversation

@clue
Copy link
Member

@clue clue commented Feb 6, 2018

With this change applied, the Response will no longer try to decode incoming responses that use the (invalid) Transfer-Encoding: chunked, chunked header. This PR adds a few helper methods that are inspired by PSR-7. Exposing these as part of the public API is left up for #41.

Resolves / closes #117
Builds on top of #58

@clue clue added the bug label Feb 6, 2018
@clue clue added this to the v0.5.7 milestone Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

strtolower() expects parameter 1 to be string, array given

3 participants