2.1: explicitly state which format the server will return in response to each given set of headers

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • V4.0_WD01
    • Affects Version/s: V4.0_WD01
    • Component/s: JSON Format
    • None
    • Hide

      If the client does not understand OData version 3.0:
      MaxDataServiceVersion: 2.0
      Accept: application/json
      The server will respond with Verbose JSON and only use format elements that were defined in OData version 2.0.
      If the client understands OData version 3.0 but only supports Verbose JSON:
      MaxDataServiceVersion: 3.0
      Accept: application/json;odata=verbose
      The server will respond with Verbose JSON and only use format elements that were defined in OData version 3.0.
      If the client fully supports OData version 3.0:
      MaxDataServiceVersion: 3.0
      Accept: application/json;odata=light;q=1,application/json;odata=verbose;q=0.5
      If the server supports the new JSON format, otherwise it will respond with Verbose JSON, or fail if it supports neither.
      Optionally, clients can add Atom to the Accept list as a further fallback in case the service supports neither JSON format.

      Show
      If the client does not understand OData version 3.0: MaxDataServiceVersion: 2.0 Accept: application/json The server will respond with Verbose JSON and only use format elements that were defined in OData version 2.0. If the client understands OData version 3.0 but only supports Verbose JSON: MaxDataServiceVersion: 3.0 Accept: application/json;odata=verbose The server will respond with Verbose JSON and only use format elements that were defined in OData version 3.0. If the client fully supports OData version 3.0: MaxDataServiceVersion: 3.0 Accept: application/json;odata=light;q=1,application/json;odata=verbose;q=0.5 If the server supports the new JSON format, otherwise it will respond with Verbose JSON, or fail if it supports neither. Optionally, clients can add Atom to the Accept list as a further fallback in case the service supports neither JSON format.
    • Show
      https://www.oasis-open.org/committees/download.php/48030/odata-json-format-v1.0-wd01-2013-01-25.doc Accepted: https://www.oasis-open.org/committees/download.php/48097/odata-meeting-23_on-20130130_31-F2F-minutes.html#odata-91

          Assignee:
          Unassigned
          Reporter:
          Mark Biamonte (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

            Created:
            Updated:
            Resolved: