> Turns out, they use SIGWINCH (which is sent on WINdow CHange) for graceful shutdown.
That’s … that’s even worse than people who send errors with an HTTP 200 response code.
That’s … that’s even worse than people who send errors with an HTTP 200 response code.
If, OTOH, your application is a hypermedia application, then returning a success status for errors is just wrong.
This is the default behavior. Apache httpd can be configured to produce different responses by way of ErrorDocument[0]. From the documentation:
Customized error responses can be defined for any HTTP
status code designated as an error condition - that is,
any 4xx or 5xx status.
HTHFor example, HTTP 409 Conflict generally means an application-level conflict (e.g. an optimistic concurrency mechanism detected a conflict).
HTTP 422 Unprocessable Entity is also usually an application-level error (e.g. hash validation failure, or identifier not recognized by the server).