[ https://issues.apache.org/jira/browse/SYNCOPE-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13835383#comment-13835383 ]
ASF subversion and git services commented on SYNCOPE-430: --------------------------------------------------------- Commit 1546565 from [~ilgrosso] in branch 'syncope/trunk' [ https://svn.apache.org/r1546565 ] [SYNCOPE-430] Prefer / Preference-Applied headers enabled for user, role and userSelf services > 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ò > Assignee: Francesco Chicchiriccò > Labels: rest > Fix For: 1.2.0 > > > 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 operation result status. > [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)