OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (ODATA-1045) Disallow propagation of Accept header on batch requests to individual requests within the batch


Ralf Handl created ODATA-1045:
---------------------------------

             Summary: Disallow propagation of Accept header on batch requests to individual requests within the batch
                 Key: ODATA-1045
                 URL: https://issues.oasis-open.org/browse/ODATA-1045
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: Protocol
    Affects Versions: V4.01_CSD01
         Environment: Proposed
            Reporter: Ralf Handl
             Fix For: V4.01_CSD02


Section 8.2.1 Header Accept states (new text in 4.01, not present in 4.0):

If the Accept header is specified on an individual request within a batch, then it specifies the acceptable formats for that individual request. Requests within a batch that don’t include the Accept header inherit the acceptable formats of the overall batch request.

This would cause problems for batch requests specifying Accept:application/json with the intention of a "default" for the individual responses once we add a JSON Batch format. Services would not be able to respond with the JSON Batch format if they formerly treated this as a default for the individual requests



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]