3 ms·
I'm not suggesting that you would build a custom exception recovery system; I'm pointing out that net/http, which is definitionally idiomatic, already has that
by tptacek 5y ago
I'm not suggesting that you would build a custom exception recovery system; I'm pointing out that net/http, which is definitionally idiomatic, already has that recovery mechanism.
- tgsovlerkhgsel 5y agoI believe that that recovery mechanism isn't supposed to be routinely triggered just due to bad user input, and that code that does so would be considered defective.
- tptacek 5y agoIt's doing almost literally the same thing as the Python code upthread. Just, with less code.