Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the prefer headers #3

Open
brianpos opened this issue Mar 19, 2019 · 2 comments
Open

Support the prefer headers #3

brianpos opened this issue Mar 19, 2019 · 2 comments

Comments

@brianpos
Copy link
Owner

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

  • Prefer: handling=strict: Client requests that the server return an error for any unknown or unsupported parameter
  • Prefer: handling=lenient: Client requests that the server ignore any unknown or unsupported parameter

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

  • Prefer: return=minimal
  • Prefer: return=representation
  • Prefer: return=OperationOutcome

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

  • Prefer: respond-async
@brianpos
Copy link
Owner Author

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
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant