Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-430

Support returning no content after create / update

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0-M1
    • None

    Description

      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

      Attachments

        Activity

          People

            ilgrosso Francesco Chicchiriccò
            ilgrosso Francesco Chicchiriccò
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: