[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1581) Clarify duplicate properties in JSON Batch payload
Michael Pizzo created ODATA-1581: ------------------------------------ Summary: Clarify duplicate properties in JSON Batch payload Key: ODATA-1581 URL: https://issues.oasis-open.org/browse/ODATA-1581 Project: OASIS Open Data Protocol (OData) TC Issue Type: Improvement Components: JSON Format Affects Versions: V4.01_OS Environment: How should duplicate properties (i.e., id, method, url, header, dependsOn, atomicityGroup, body, if) in a JSON Batch payload be handled? Most of these (id, method, url, atomicityGroup, body) should pretty clearly be errors as they are single-valued. However,Â[RFC2616Â|https://www.rfc-editor.org/rfc/rfc2616#section-4.2]allows the same header to appear multiple times in a request only if the header value is a coma-separated list of values, and states that the multiple headers is equivalent to a single header with the values appended, in order, separated by comas. So, a service *could*Âallow the "header" property to appear multiple times and append the values. We could do the same thing with dependsOn, and even if. Or, we could keep it simple and say that a client must not specify any of these properties more than once. Reporter: Michael Pizzo Fix For: V4.01_ERRATA01 -- This message was sent by Atlassian Jira (v8.3.3#803004)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]