How to handle bad web request error
How do we properly deal with HTTP errors on the browser side? And how do we handle them correctly on the server side when the client side is at fault? From the browser’s point of view, the easiest thing to do is to try again and hope the error just goes away. This is a good idea in a distributed network, but we also have to be very careful not to make things worse. Here’s…