Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-48

AAI Common REST Client returns an error on a 204 (No Content) server response

    XMLWordPrintable

    Details

      Description

      An HTTP server may return the response code 204 in a scenario where a request was enacted but the response does not include any entity content. See https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.7

      In this scenario the common REST client wrongly tries to read an entity from the client response, leading to an exception being thrown. The caller of the REST client will then be presented with a response code of 500 (Internal Server Error).

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            mark.j.leonard Mark Leonard
            Reporter:
            mark.j.leonard Mark Leonard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                0m
                Logged:
                Time Not Required
                Not Specified