FHIR Chat · HTTP Create returning Location Header · conformance

Stream: conformance

Topic: HTTP Create returning Location Header


view this post on Zulip Ken Sinn (Jan 09 2020 at 21:23):

I noticed an inconsistency in the HTTP Create documentation.

in https://www.hl7.org/fhir/http.html#create, it states "The server returns a 201 Created HTTP status code, and SHALL also return a Location header which contains the new Logical Id and Version Id of the created resource version."

In http://hl7.org/fhir/http.html#update, it states "If the resource was created (i.e. the interaction resulted in a 201 Created), the server SHOULD return a Location header (this is for HTTP conformance; it's not otherwise needed). "

I'm guessing the statement in the "update" section is outdated and needs to be updated. Can I get a confirmation on this? Thank you!

view this post on Zulip Grahame Grieve (Jan 09 2020 at 21:55):

you could create a task for this. but I think that we couldn't change this now and also that we wouldn't want to \

view this post on Zulip Ken Sinn (Jan 09 2020 at 21:58):

As far as the "correct" statement, it's supposed to be SHALL and not SHOULD, right? Thanks!

view this post on Zulip Grahame Grieve (Jan 09 2020 at 22:09):

I think it's correct as it is


Last updated: Apr 12 2022 at 19:14 UTC