Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3838

Return 204 response code for success request with an empty response body

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: REST API v7
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1

      Description

      Some rest endpoints like the authentication login / logout return success 200 with an empty response body. A 204 code is a more appropriate return code

      https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bollini Andrea Bollini (4Science)
                Reporter:
                bollini Andrea Bollini (4Science)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: