You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Sipi returns JSON in response to an HTTP request, it returns two status codes:
The standard HTTP status code.
Another status code inside the JSON.
This is confusing and error-prone, and seems redundant. There are cases where Sipi returns HTTP status 200 (OK), but the JSON contains a status code indicating an error: see dasch-swiss/dsp-api#266 .
Can we get rid of the error code inside the JSON, and just use HTTP status codes?
The text was updated successfully, but these errors were encountered:
I need some more information to locate the problem: Under what circumstances results this problem. Is it from a Lua script or SIPI intrinsics? Please indicate the URL that produces the problem!
When Sipi returns JSON in response to an HTTP request, it returns two status codes:
This is confusing and error-prone, and seems redundant. There are cases where Sipi returns HTTP status 200 (OK), but the JSON contains a status code indicating an error: see dasch-swiss/dsp-api#266 .
Can we get rid of the error code inside the JSON, and just use HTTP status codes?
The text was updated successfully, but these errors were encountered: