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-682) 11.4.1.5 Returning Results from Data Modification Requests - media resources and stream properties


Ralf Handl created ODATA-682:
--------------------------------

             Summary: 11.4.1.5 Returning Results from Data Modification Requests - media resources and stream properties
                 Key: ODATA-682
                 URL: https://tools.oasis-open.org/issues/browse/ODATA-682
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Bug
          Components: OData Protocol 
    Affects Versions: V4.0_ERRATA01
            Reporter: Ralf Handl
             Fix For: V4.0_ERRATA02


The new section 11.4.1.5 Returning Results from Data Modification Requests specifies that the default response to data modification is the "after-image" of the modified resource.

This contradicts the behavior for updating media resources specified in section 11.4.7.2 Editing a Media Entity Stream:

  If the request to edit a media stream returns a non-empty response body,
  the response body MUST contain the updated media entity.

This special behavior for updating media resources is consistent with the special behavior for creating media resources, where also the media entity, i.e. the structured twin is returned.

This deviating "default" behavior raises the question whether stream properties also should have a different default and use 204 no content if not specified otherwise.



--
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]