mercredi 2 juillet 2014

410 Gone HTTP response for DELETE request made by DefaultHttpClient


Vote count:

0




I'm using Apache DefaultHttpClient to make a DELETE request to a web service. The call is completely successful - the webservice deletes what it should and returns success response (with an actual "success" : true in the json response body). But ... the response code is 410 Gone instead of 2xx. When I call this web service (the same endpoint with DELETE method) via SoapUI, I get 200 OK response code. Any ideas what could be wrong or what does that even mean? I'm not sure where should I start looking for the problem.



asked 54 secs ago






Aucun commentaire:

Enregistrer un commentaire