3 ms·
It's not possible to always ensure that you report whether an operation succeeded. Consider a timeout - you waited 5 seconds for the backend to respond and hear
by bdonlan 7y ago
It's not possible to always ensure that you report whether an operation succeeded. Consider a timeout - you waited 5 seconds for the backend to respond and heard nothing - was it, or will it be successful? You don't know.
Typically a 500 should be considered as a "may or may not have succeeded", and steps taken to deduplicate operations if necessary.