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

Clarify behavior wrt If-Match header on a GET request

    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

      See Description.

      Show
      See Description.

      Description

      Section 9.1.6 of protocol incorrectly implies that a request containing an If-Match header should return a 304 Not Modified in the case the ETag specified in the If-Match header matches, which is incorrect.
      Clarify that if the If-Match header is used on a GET request and the content has changed that the server MUST return a 412 Precondition Failed and otherwise process the request as normal.

        Attachments

          Activity

            People

            • Assignee:
              mikep Michael Pizzo
              Reporter:
              hubert.heijkers Hubert Heijkers
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: