Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-30876

SMART should make clear that Accept is not required

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive
    • Icon: Medium Medium
    • SMART on FHIR (FHIR)
    • 1.0 [deprecated]
    • FHIR Infrastructure
    • STU
    • (NA)
    • 4
    • Hide

      Add text  to http://www.hl7.org/fhir/smart-app-launch/conformance/index.html#using-well-known to indicate that .well-known/smart-configuration requests are always JSON-based. Specifically we should indicate that:

      • clients MAY omit an Accept header
      • servers MAY ignore any client-supplied Accept headers
      • servers SHALL respond with application/json (this is already stated, but can be clarified)

       

      doesn't have to be populated/can be ignored.

      Show
      Add text  to http://www.hl7.org/fhir/smart-app-launch/conformance/index.html#using-well-known  to indicate that .well-known/smart-configuration requests are always JSON-based. Specifically we should indicate that: clients MAY omit an Accept header servers MAY ignore any client-supplied Accept headers servers SHALL respond with application/json (this is already stated, but can be clarified)   doesn't have to be populated/can be ignored.
    • Gino Canessa/Yunwei Wang: 13-0-0
    • Clarification
    • Compatible, substantive

    Description

      The SMART spec doesn't state one way or another if Accept should be populated or valid, but does call out that JSON should be returned [1]. Prior discussion determined that other well-known specifications don't require the Accept to be populated or correct. We should make it more clear in SMART that the server should essentially ignore the Accept (populated or not) and return the JSON document.

       

      Propose adding text stating that the Accept header doesn't have to be populated/can be ignored.

       

      This was found during Inferno testing and discussion

      [1] http://www.hl7.org/fhir/smart-app-launch/conformance/index.html#using-well-known

      [2] https://chat.fhir.org/#narrow/stream/179309-inferno/topic/Retrieve.20well-known

      Attachments

        Activity

          People

            carl-anderson-msft Carl Anderson (Inactive)
            jenni_syed Jenni Syed (Inactive)
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: