top | item 41969359

(no title)

sleepyhead | 1 year ago

I don't get it. If the system is so broken it is returning some random http code then I don't see how returning some other random http code is better?

discuss

order

dtech|1 year ago

5xx indicates an error in the server, 4xx indicates a client error. So it's quite common for clients to handle them differently like retrying 5xx but not 4xx.

sleepyhead|1 year ago

Sure, but if the server is returning 418 by an error it is likely that it would return some other 4xx error instead of 5xx. 418 is irrelevant here, the server is rogue.