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

OData batch call does not add Content-ID header with each changeRequest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • (JS) V4 4.0.0
    • None
    • odata4-client-JS
    • None
    • Browser and ASP.NET Web API OData v4

    Description

      Applies to Batch calls in OData v4.

      The Content-ID is required as part of a changeset according to OData standard v4. The JS library does not add this as a header for each changeset.

      The issue is on this line of code in "writeBatchPart" method.
      result = "Content-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:" + contentIdCounter + "\r\n\r\n";//==MANUAL CHANGE==

      Attachments

        Activity

          People

            Unassigned Unassigned
            ketan@k10world.com Ketan Thakkar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: