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 Dimitar Misev)

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 Piero Campalani, 11 years ago

Specifically, which exceptions (they name by standard) are returning a wrong exit code?
thanks.

comment:2 by Dimitar Misev, 11 years ago

some exceptions have a specific HTTP return code in them, but by default it should be 404 I guess

comment:3 by Dimitar Misev, 11 years ago

Description: modified (diff)

I believe this has been fixed?

Note: See TracTickets for help on using tickets.