2 ms·
I personally like requests api. Requests gives you a response, but let's you raise an exception if an error case was caught (404, 500, etc) And it's only one
by bb88 4y ago
I personally like requests api.
Requests gives you a response, but let's you raise an exception if an error case was caught (404, 500, etc)
And it's only one type (Response) and doesn't force the user into using isinstance to figure out if it succeeded or not.