Opened 11 years ago

Closed 10 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 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 (5)

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, 10 years ago

Description: modified (diff)

I believe this has been fixed?

comment:4 by Piero Campalani, 10 years ago

Yes, this ticket seems actually related to #522, and it should be fixed in: changeset:96d75ea.

comment:5 by Dimitar Misev, 10 years ago

Milestone: 9.0
Resolution: fixed
Status: newclosed

Ok closing it then.

Note: See TracTickets for help on using tickets.