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

Content-Type header on 204 response

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Received (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 7.0
    • Fix Version/s: None
    • Component/s: REST API v7
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      0
    • Documentation Status:
      Needed

      Description

      When no result is found, the response has the correct status of 204 but it also has a Content-Type header of "application/json". Since there is no content, then there is no reason to specify a Content-Type header

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              giuseppe.digilio Giuseppe Digilio (4Science)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: