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

Allow handling of in-stream errors on protocol level

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.01_ERRATA01
    • Component/s: Protocol
    • Labels:
      None
    • Proposal:
      Hide

      the service MUST leave the response malformed according to its content-type or abort the response by causing an error on transport protocol level.

      Show
      the service MUST leave the response malformed according to its content-type or abort the response by causing an error on transport protocol level .
    • Resolution:
      Show
      https://github.com/oasis-tcs/odata-specs/pull/87

      Description

      OData-Protocol, section 9.5 says

      In the case that the service encounters an error after sending a success status to the client, the service MUST leave the response malformed according to its content-type. Clients MUST treat the entire response as being in error.

      But certain content types, for example text/plain in a response of type Edm.Stream, cannot be malformed. Suggest to allow abortion of the response on HTTP protocol level.

        Attachments

          Activity

            People

            • Assignee:
              heiko.theissen Heiko Theissen
              Reporter:
              heiko.theissen Heiko Theissen
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: