brianpos / fhir-net-web-api

.NET FHIR webapi and netapicore facade library
Other
27 stars 13 forks source link

Support the prefer headers #3

Open brianpos opened 5 years ago

brianpos commented 5 years ago

http://hl7.org/implement/standards/fhir/search.html#errors

http://hl7.org/implement/standards/fhir/http.html#prefer

http://hl7.org/implement/standards/fhir/async.html#3.1.6.2.0.1

brianpos commented 5 years ago

Just a note that the minimal/representation/op outcome are already handled by the controller, so its really just the other 2, handling and respond-Async that are in question here. (have posted the question to the fhir chat too)

brianpos commented 5 years ago

Per https://tools.ietf.org/html/rfc7240 section 2, either comma-separated or two separate Prefer headers are both accepted. (Thanks Paul Church)