-
Notifications
You must be signed in to change notification settings - Fork 73
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
3.2.0-rc1 doesn't handle API not found errors correctly #324
Comments
…on for everything including all errors.
From IM.
|
[3.2] Return application/json for all http responses including errors
[3.2 -> main] Return application/json for all http responses including errors
In all previous versions of nodeos, any 404 not-found errors are returned as JSON documents. In 3.2.0-rc1 a plain text error message is returned, but the content type is still application/json.
Either the content-type needs to be changed, or the content. I think the content should be changed to match previous version to not break backwards compatibility. Tools test URLs to understand if APIs are available or not. (eg account API).
3.2.0-rc1:
Older:
The text was updated successfully, but these errors were encountered: