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

Change $batch response code from 202 Accepted to 200 OK

    Details

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

      [Proposed]

      Description

      $batch is currently spec'd to return 202 Accepted. This seems a misuse of 202 and is at odds with our Async proposal.

      We should change $batch to return 200 for the synchronous case and 202 Accepted for the async case.

        Attachments

          Activity

          ralfhandl Ralf Handl created issue -
          mikep Michael Pizzo (Inactive) made changes -
          Field Original Value New Value
          Proposal Specify that $batch return 200 for the synchronous case and 202 Accepted for the async case.
          Description $batch is currently spec'd to return 202 Accepted. This seems a misuse of 202 and is at odds with our Async proposal.

          We should change $batch to return 200 for the synchronous case and 202 Accepted for the async case.
          Environment [Proposed]
          ralfhandl Ralf Handl made changes -
          Status New [ 10000 ] Open [ 1 ]
          ralfhandl Ralf Handl made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          ralfhandl Ralf Handl made changes -
          Proposal Specify that $batch return 200 for the synchronous case and 202 Accepted for the async case. Specify that $batch return 200 for the synchronous case and 202 Accepted for the async case.

          Accepted: https://www.oasis-open.org/committees/download.php/48097/odata-meeting-23_on-20130130_31-F2F-minutes.html#odata-233
          ralfhandl Ralf Handl made changes -
          Assignee Ralf Handl [ ralfhandl ]
          ralfhandl Ralf Handl made changes -
          handl Ralf Handl made changes -
          Reporter Ralf Handl [ ralfhandl ] Ralf Handl [ handl ]
          handl Ralf Handl made changes -
          Assignee Ralf Handl [ ralfhandl ] Ralf Handl [ handl ]

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              handl Ralf Handl
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: