FHIR Chat · DELETE status return · implementers

Stream: implementers

Topic: DELETE status return


view this post on Zulip Brian Postlethwaite (Dec 15 2016 at 05:59):

Can't believe its taken me this long... in DSTU1 (yes 1) when deleting a non existant resource a 404 was expected to be returned, vs a 204 or 200 as is is in DSTU2 and STU3.
expected behaviour to others?
(I'm ok with it, just was a little surprised)
http://hl7.org/fhir/DSTU2/http.html#delete

view this post on Zulip Brian Postlethwaite (Dec 15 2016 at 06:01):

(Yes Touchstone tested this and picked up my issue)

view this post on Zulip Richard Ettema (Dec 15 2016 at 06:03):

:smiley:

view this post on Zulip Brian Postlethwaite (Dec 15 2016 at 06:06):

(Yes, thanks Richard! - Updates are coming along nicely)

view this post on Zulip James Agnew (Dec 15 2016 at 12:07):

This was a deliberate change, and a good one IMO. I always hated the 404 in DSTU1.

4xx are client errors,which never felt right for this.


Last updated: Apr 12 2022 at 19:14 UTC