Retry in HTTP request


#1

Hi,

I’m was looking for retry mechanism, Is anything available in echo HTTP request configuration, please help me with this


#2

This makes little sense… Echo does not make the HTTP requests, it answers them. So how could the server retry something that it never did in the first place? It is the job of the end users to retry requests on failure.

Plus, say there was an error on the server end, as an end user would like to wait (how long? 10s, 10m, 50 days?) while the framework retries things over and over, instead of just getting an error right away? Clearly, this does not belong in the framework but in end user code, even if we’re talking about server side (in your handlers you can retry all that it makes sense for your specific case).