Francesco Chicchiriccò created SYNCOPE-430:
----------------------------------------------
Summary: Support returning no content after create / update
Key: SYNCOPE-430
URL: https://issues.apache.org/jira/browse/SYNCOPE-430
Project: Syncope
Issue Type: Improvement
Reporter: Francesco Chicchiriccò
Some REST methods (mostly in UserService and RoleService) are now returning the
created / updated / deleted resource in the Response body as entity.
It could be nice to provide a 'Prefer' / 'Preference-Applied' (similar
respectively to [1] and [2]) HTTP header mechanism allowing caller to declare
that he is not interested in getting the created / updated / deleted resource
back, but only in resource result.
[1] http://msdn.microsoft.com/en-us/library/hh537533.aspx
[2] http://msdn.microsoft.com/en-us/library/hh554623.aspx
--
This message was sent by Atlassian JIRA
(v6.1#6144)