Opened 11 years ago
Last modified 11 years ago
#448 closed defect
WCS 2.0 exception code — at Version 3
Reported by: | Jinsongdi Yu | Owned by: | Piero Campalani |
---|---|---|---|
Priority: | major | Milestone: | 9.0 |
Component: | petascope | Version: | 8.5 |
Keywords: | Cc: | ||
Complexity: | Medium |
Description (last modified by )
the http code should be 404 for wcs 2.0.1 exceptions.
currently, the exception code is set to HTTP/1.1 200 OK
The following errors should return a 404 status code:
- WcsError
- RuntimeError
- UnknownError
- RasdamanError
- RasdamanRequestFailed
Change History (3)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
some exceptions have a specific HTTP return code in them, but by default it should be 404 I guess
Note:
See TracTickets
for help on using tickets.
Specifically, which exceptions (they name by standard) are returning a wrong exit code?
thanks.