Ramya created OLINGO-1442: ----------------------------- Summary: OData V4: Suport update requests on Stream properties Key: OLINGO-1442 URL: https://issues.apache.org/jira/browse/OLINGO-1442 Project: Olingo Issue Type: New Feature Reporter: Ramya Assignee: Ramya
As per odata v4.01 specification, http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_UpdateStreamValues A successful PUT request to the edit URL of a stream property changes the media stream associated with that property. The request body MUST contain the new media value for the stream whose media type MUST be specified in a Content-Type header. Currently library does not accept content-type headers other than application/json. Requests of the below form should be supported PUT : http://localhost:8081/odata-server-tecsvc/odata.svc/ESWithStream(7)/PropertyStream Request Header : Content-Type : image/jpeg Request-Body: Image file The response Content-Type header should be same as that of the Content-Type header specified in the request. If the prefer header is representation, then the image should be in the response body -- This message was sent by Atlassian Jira (v8.3.4#803005)