Opened 11 years ago
Closed 11 years ago
#448 closed defect (fixed)
WCS 2.0 exception code
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 (5)
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
comment:4 by , 11 years ago
Yes, this ticket seems actually related to #522, and it should be fixed in: changeset:96d75ea.
comment:5 by , 11 years ago
Milestone: | → 9.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Ok closing it then.
Note:
See TracTickets
for help on using tickets.
Specifically, which exceptions (they name by standard) are returning a wrong exit code?
thanks.