Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1554

Olingo V4 - Uniqueness of Content-ID in batch request

    XMLWordPrintableJSON

Details

    Description

      Currently, the Olingo client core uses an ascending index for the Content-ID header value which is unique in the individual changeset but not in the complete batch request when using BatchManager.addChangeset API.

      This leads to problems with SAPs OData V4 services and is not correct according to the OData V4 spec:

      11.7.7.1 Multipart Batch Request Body

      "[...] Each body part representing an operation in the change set MUST specify a Content-ID header with a request identifier that is unique within the batch request. [...]"

      Attachments

        Activity

          People

            mirbo mibo
            KaiStritzelberger Kai Stritzelberger
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: