Repository navigation
Error types defined in h11 and httpx #1555
Replies: 1 comment
|
Yes, this is still a leak in current releases. I reproduced it with httpx 0.28.1 and httpcore 1.0.9: a request whose httpx does expose So catching |
|
Yes, this is still a leak in current releases. I reproduced it with httpx 0.28.1 and httpcore 1.0.9: a request whose httpx does expose So catching |
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?
All reactions