[Feature]: Generate relative location header in the ODataEndpoint
, when primary key is defined by Entity
#374
Labels
enhancement
New feature or request
Is there an existing issue for this?
The Problem
Split from #326
As previously agreed, the behaviour of Create and Update should be as follows:
Location
(via Response Hint)--> use Location as returned by
EntityVerticle
and set 201 (create) or 200 (update) HTTP status code--> generate relative location header in the
ODataEndpoint
, e.g.EntitySetName(PrimaryKey)
(check if helper method is available in Olingo)--> for backward compatibility, continue as of now by not setting the location header and returning a 204 HTTP status code
(1) and (3) were already implemented as part of #326. This story is about implementing (2) and (4).
Desired Solution
No response
Alternative Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: