Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.2.* - REST Version 0.2
-
Fix Version/s: 2.2.* - REST Version 0.2
-
Component/s: Activity - REST
-
Labels:None
Description
If an HTTP error is reported, like 404 Not Found, the REST service does not fail, but outputs the error HTML on {responseBody} and "404 Not Found" on status.
This might be useful in special cases where one wants to parse the responseBody (like from myExperiment - although they don't use proper status codes yet) - but I believe the general case should be that the service should fail on any 4xx or 5xx error codes - unless an optional tickbox is enabled, like "Don't fail on 4xx/5xx HTTP error codes".
Fixed in revision 506