We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The json_encode is not told to throw an excpetion on error, but neither are errors checked/caught.
json_encode
So when JSON encoding fails, the response body is empty and the response code is 200, even though an error occurred.
200
simplycode/lib/http.php
Line 133 in 92f607c
The text was updated successfully, but these errors were encountered:
e18d36c
Successfully merging a pull request may close this issue.
The
json_encode
is not told to throw an excpetion on error, but neither are errors checked/caught.So when JSON encoding fails, the response body is empty and the response code is
200
, even though an error occurred.simplycode/lib/http.php
Line 133 in 92f607c
The text was updated successfully, but these errors were encountered: