Error types defined in h11 and httpx #1555
Unanswered
ludo-lumapps
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to catch a LocalProtocolError error from within a Client.post, but I realized that I wasn't catching the "correct" one.
Turns out I need to catch:
from h11 import LocalProtocolErrorrather than
from httpx import LocalProtocolErrorIs this normal?
Beta Was this translation helpful? Give feedback.
All reactions