aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authormark.j.leonard <mark.j.leonard@gmail.com>2017-07-11 12:02:13 +0100
committermark.j.leonard <mark.j.leonard@gmail.com>2017-07-11 15:24:58 +0100
commitda669cac0eb4e1832082ffb91cf24f998c114dee (patch)
treed6de32c35276dc2b3d46814e63e5ade64b15aba2 /.gitignore
parentcf2f6ef5fadb27bab1e65cb25ff9d36acad4a68d (diff)
Fix incorrect result for a server response of 204
The Rest Client will not always call the method getEntity() on a com.sun.jersey.api.client.ClientResponse object, which is documented to throw a UniformInterfaceException if the HTTP server response status is 204 (No Content). This fix prevents the Rest Client handling the thrown exception by returning a 500 response to the caller, which would wrongly indicate an Internal Server Error. Change-Id: I7b78d2b43213e330593bbea559025f790db6264f Issue-ID: AAI-48 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions