Needs review
Project:
JSON server
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Dec 2011 at 16:09 UTC
Updated:
13 Dec 2011 at 16:09 UTC
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 |