Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Services has support for returning an error with an accompanying HTTP status code, but json_server doesn't set the code in its response.
This patch utilizes the $code argument in hook_services_error to return the HTTP status code in event of an error.
Comment | File | Size | Author |
---|---|---|---|
json_server_http_error_response_code.patch | 469 bytes | mediabounds |