octane
octane copied to clipboard
This PR fixes #562 by defining "non-standard HTTP status codes reasons" in the octane config file.
This PR fixes #562 by defining "non-standard HTTP status codes reasons" in the octane config file.
This PR allows users to define other status code reasons in octane.php config file
Can you add tests to this pull request please?
I can update current test if its OK, or write a new one.
@nunomaduro Is this test not acceptable for this PR?
I don't really love calling the global config helper from here. IMO just return a standard status and include a JSON payload providing a more detailed error code / status.
@taylorotwell can you provide any other option to have other custom status codes (like 481) instead of using configuration file?