Skip to content

Add more status codes#2014

Merged
silentworks merged 2 commits into
slimphp:3.xfrom
akrabat:more-http-codes
Nov 18, 2016
Merged

Add more status codes#2014
silentworks merged 2 commits into
slimphp:3.xfrom
akrabat:more-http-codes

Conversation

@akrabat
Copy link
Copy Markdown
Member

@akrabat akrabat commented Oct 12, 2016

No description provided.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.06%) to 97.139% when pulling 85a3ad8 on akrabat:more-http-codes into 2f29cc2 on slimphp:3.x.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.06%) to 97.139% when pulling 343b939 on akrabat:more-http-codes into 2f29cc2 on slimphp:3.x.

@prisis
Copy link
Copy Markdown

prisis commented Oct 12, 2016

Maybe you like this package from me, it has all status codes. https://github.com/narrowspark/http-status

@robertprice
Copy link
Copy Markdown
Contributor

You need to update testMustSetReasonPhraseForUnrecognisedCode in ResponseTest.php as it's testing for 499 as an unrecognised code, but as this has now been defined a new code is needed. This will get the phpunit tests passing again.

@akrabat
Copy link
Copy Markdown
Member Author

akrabat commented Oct 14, 2016

Yeah - hoping to get to it today.

Use 199 now that 499 is a valid status code.
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.002%) to 97.2% when pulling ac7717c on akrabat:more-http-codes into 2f29cc2 on slimphp:3.x.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.002%) to 97.2% when pulling ac7717c on akrabat:more-http-codes into 2f29cc2 on slimphp:3.x.

@akrabat akrabat added this to the 3.6.0 milestone Nov 18, 2016
@silentworks silentworks merged commit 66ff172 into slimphp:3.x Nov 18, 2016
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.

5 participants