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

Remove empty reason phrase check #99

Merged
merged 2 commits into from
Jun 23, 2019
Merged

Conversation

kelunik
Copy link
Contributor

@kelunik kelunik commented Jun 20, 2019

The reason phrase is entirely optional and this behavior violates both HTTP/1.1 and PSR-7.

Additionally, the check in getReasonPhrase got removed to allow for a reason phrase of '0' instead of falling back to the default.

kelunik added 2 commits June 20, 2019 11:36
The reason phrase is entirely optional and this behavior violates both HTTP/1.1 and PSR-7.

Additionally, the check in `getReasonPhrase` got removed to allow for a reason phrase of '0' instead of falling back to the default.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.0007%) to 99.73% when pulling eeadee5 on kelunik:patch-1 into e900e7e on slimphp:master.

@danopz
Copy link
Member

danopz commented Jun 23, 2019

LGTM 👍

@l0gicgate l0gicgate added this to the 0.4 milestone Jun 23, 2019
@l0gicgate l0gicgate merged commit 6e32929 into slimphp:master Jun 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants