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

OData-EntityId is only required for 204 No Content, but client may need it when server doesn't support canonical URLs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_OS
    • Fix Version/s: V4.0_ERRATA01
    • Component/s: Protocol
    • Labels:
      None
    • Environment:

      [Applied]

    • Proposal:
      Hide

      Close without action

      Show
      Close without action

      Description

      OData protocol section "8.3.3 Header OData-EntityId" states:

      "A response to a create operation that returns 204 No Content MUST include an OData-EntityId response header."

      If the server doesn't support canonical URLs, the client cannot obtain the entity id of a created entity (when 204 No Content is returned) without requerying the entity.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              evan.ireland.2 Evan Ireland
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: