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

Consider adding a mechanism for idempotence with POST

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: CN01
    • Component/s: Repeatable Requests
    • Labels:
      None
    • Environment:

      [Proposed]

    • Proposal:
      Hide

      Publish a committee note with defining a recommended mechanism for repeatable requests.
      A draft proposal for such a committee note can be found here: https://www.oasis-open.org/committees/document.php?document_id=49430&wg_abbrev=odata .

      Accepted in F2F 2013-06-13

      Show
      Publish a committee note with defining a recommended mechanism for repeatable requests. A draft proposal for such a committee note can be found here: https://www.oasis-open.org/committees/document.php?document_id=49430&wg_abbrev=odata . Accepted in F2F 2013-06-13

      Description

      Many backend systems will generate a key in response to a newly POSTed entity.

      If a client sends a POST request to create an entity, and the OData service does create the entity, but the HTTP response to the client is lost, the client may be unsure as to whether or not the request succeeded. If the client repeats the request, it may result in duplicate information in the backend system.

      Idempotence is especially important for clients which want to be able to do store-and-forward (e.g. offline enablement).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              evan.ireland.2 Evan Ireland
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: