HTTP status code for "success with errors"?

Posted by Richard Levasseur on Stack Overflow See other posts from Stack Overflow or by Richard Levasseur
Published on 2010-06-18T03:06:14Z Indexed on 2010/06/18 3:13 UTC
Read the original article Hit count: 385

Filed under:
|
|

I've poked around a bit, but I don't see an HTTP status code for when a request's succeeds, but there is an error after the "point of no return".

e.g., Say you process a request, its committed to the database, but while returning the result you run of memory, or encounter a NPE, or what have you. It would have been a 200 response, but now, internally, you aren't able to return the proper, well-formed response.

202 Accepted doesn't seem to fit since we've already processed the request.

What status code means "Success, but errors"? Does one even exist?

© Stack Overflow or respective owner

Related posts about http

Related posts about rest