2 ms·
Well, 100- and 300- class respones aren't errors, but yeah, 400- and 500- might make more sense as Err. You could also look at it from another point-of-view. O
by jimktrains2 11y ago
Well, 100- and 300- class respones aren't errors, but yeah, 400- and 500- might make more sense as Err.
You could also look at it from another point-of-view. Ok() means that I am able to fully handle this request, even if it's an HTTP error code, and Err being "nope, don't know. Sorry bud".