Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-913

Should we specify a default response format if neither Accept header nor system query $format are specified

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_ERRATA02
    • Fix Version/s: V4.0_ERRATA03
    • Component/s: Protocol
    • Labels:
      None
    • Environment:

      Applied

    • Proposal:
      Hide

      if client doesn't specify Accept header, service can return any format (including OData JSON with no metadata)

      Show
      if client doesn't specify Accept header, service can return any format (including OData JSON with no metadata)
    • Resolution:
      Hide

      Already applied to Section 7 through ODATA-861.
      Added text to Section 11.2, Requesting Data

      Note that we already explicitly state that a metadata request MUST return application/xml if nothing is specified. Didn't change this.

      https://www.oasis-open.org/committees/download.php/57689/odata-v4.0-wd08-part1-protocol-2016-03-03.docx

      Show
      Already applied to Section 7 through ODATA-861 . Added text to Section 11.2, Requesting Data Note that we already explicitly state that a metadata request MUST return application/xml if nothing is specified. Didn't change this. https://www.oasis-open.org/committees/download.php/57689/odata-v4.0-wd08-part1-protocol-2016-03-03.docx

      Description

      Ref: Section 7 Formats
      Ref: Section 11.2.10 System Query Option $format

        Attachments

          Activity

            People

            • Assignee:
              mikep Michael Pizzo (Inactive)
              Reporter:
              ram.jeyaraman Ram Jeyaraman (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: