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

Fixes issue related to changing non-standard HTTP status codes to 200 OK #294

Merged
merged 2 commits into from
May 27, 2021

Conversation

sikhlana
Copy link
Contributor

This PR fixes #291 by passing an extra parameter $reason for non-standard HTTP codes.

@sikhlana
Copy link
Contributor Author

Looks like I got ninja'd by @sy-records 😆

@driesvints
Copy link
Member

The other PR seems a bit more simpler so closing this one. Thanks!

@chris-heng-lb
Copy link

Is it possible to let users define other status code reasons other than 419 through the octane.php config file?

@LordVersA
Copy link

how can i add 481 or other statuses to this const?

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.

TokenMismatchException returns HTTP status code 200 instead of 419
5 participants