[squeak-dev] AITA - returning a 408 error for a WebClient request where the socket times out?
rabbit at callistohouse.org
Fri Oct 7 22:09:10 UTC 2022
It seems apropos to close a timed out connection and allow retry logic to attempt reconnection. That this situation has resulted in a 408 Request Timeout response status code  is provided to the requestor, after retries have failed, seems good
And the Magic 8 Ball says…Outlook good! 😊
 408 Request Timeout - https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408
Have a good one; keep it, light.
. .. … ‘…^,^
Sent from Callisto House :: decentralized mobile homeless solutions
> On Oct 7, 2022, at 17:01, tim Rowledge <tim at rowledge.org> wrote:
> So far as I can see the WebClient code does not try to handle socket timeouts etc. If I handle NetworkError by faking a WebResponse with a 408 code, Am I The Asshole? Will it cause the entire intertoobs to catch fire?
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> No one is listening until you make a mistake
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev