Previously, any error failed with code 404, regardless of reason. Now, 404 NOT FOUND is only returned if an endpoint or file doesn't exist.
Trying to send a malformed message or request an example of a non-existent message type should now report a 400 BAD REQUEST, and a failure to send a message should report a 500 INTERNAL SERVER ERROR.
Previously, any error failed with code 404, regardless of reason. Now, 404 NOT FOUND is only returned if an endpoint or file doesn't exist.
Trying to send a malformed message or request an example of a non-existent message type should now report a 400 BAD REQUEST, and a failure to send a message should report a 500 INTERNAL SERVER ERROR.
fix #69