restfulness
restfulness copied to clipboard
Because REST APIs are all about resources.
This way we can handle errores as expected on samlown/restfulness#9
## Problem It would be desirable to be able to provide [generic error messages](https://www.owasp.org/index.php/Error_Handling#Generic_error_messages) instead of the exception message after a resource method raises a `StandardError`. ## Proposed solution We...
## Problem The response `Content-Type` cannot take different values rather than `appplication/json` or `text/plain`. ## Proposed Solution Modify the `update_content_headers` method in the Response to allow to pass a custom...