Ketan Thakkar created OLINGO-843:
------------------------------------
Summary: OData batch call does not add Content-ID header with each
changeRequest
Key: OLINGO-843
URL: https://issues.apache.org/jira/browse/OLINGO-843
Project: Olingo
Issue Type: Bug
Components: odata4-client-JS
Affects Versions: (JS) V4 4.0.0
Environment: Browser and ASP.NET Web API OData v4
Reporter: Ketan Thakkar
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==
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)