DigestAuthentication not working #2787
Unanswered
robin-blanchard
asked this question in
Potential Issue
Replies: 2 comments 2 replies
-
When debugging, it looks like:
It seems like the challenge isn't properly handled |
Beta Was this translation helpful? Give feedback.
2 replies
-
After a bit of debugging, I'm not actually sure the issue comes from httpx. Is there any reason httpx would lead to the session being re-initialized ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
It seems to be an issue with DigestAuthentication. Even with a basic HTTP server, I can't manage to correctly authenticate a client with httpx.
Here's the server implementation with Flask:
And here's the small client:
This code returns 401.
httpx version: 0.24.1
Does anyone has a solution ? I plan on using httpx to send asynchronous requests to a server with Digest Authentication. Only httpx seems to provide Digest Authentication with async support.
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions