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

Cast getSize() to string for Content-Length header #164

Merged
merged 1 commit into from
Apr 7, 2017

Conversation

maciejmrozinski
Copy link

This probably fixes the issues with Zend/Diactoros mentioned here #28 (comment). The exception is throwed since getSize() returns int instead of string (diactoros is very strict about this).

This fixed my issues with Diactoros responses.

@clue
Copy link
Member

clue commented Apr 7, 2017

LGTM, can you add a test for this? 👍

@clue clue added the bug label Apr 7, 2017
@clue clue added this to the v0.7.0 milestone Apr 7, 2017
@WyriHaximus WyriHaximus requested review from jsor, WyriHaximus and clue April 7, 2017 17:25
@maciejmrozinski
Copy link
Author

As discussed shortly with @clue on IRC, we may not need tests for this, so can be merged if no other issues are raised.

@WyriHaximus WyriHaximus merged commit 16cd72f into reactphp:master Apr 7, 2017
@WyriHaximus
Copy link
Member

Awesome, thank you 👍

@maciejmrozinski maciejmrozinski mentioned this pull request Apr 7, 2017
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.

4 participants