-
-
Notifications
You must be signed in to change notification settings - Fork 862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DigestAuthentication not working #2788
Comments
It seems that manually adding the cookie to the second request does the job. For example by adding: |
I think there are other things to change to make it work with |
Could you please explain what you mean here? |
Can we simplify the issue by simply stating that the Authorization flows do not include cookies in their requests? |
Actually, I think all the necessary changes are within the
|
Could you please explain these two issues to me? How httpbin works with the wrong digest calculation, are you sure about that? |
Believe this to be closed via #2846. |
Discussed in #2787
Originally posted by robin-blanchard July 25, 2023
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
The text was updated successfully, but these errors were encountered: