A bug in how httpx handle auth parameter #3504
Unanswered
dheerajck
asked this question in
Potential Issue
Replies: 1 comment
-
|
The AuthTypes = Union[
Tuple[Union[str, bytes], Union[str, bytes]],
Callable[["Request"], "Request"],
"Auth",
]So according to the types |
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
Uh oh!
There was an error while loading. Please reload this page.
-
throws this error rn
whereas requests doesnt throw the error rn
I think we should handle this exception and throw a new exception that will let user know they should use auth=None or handle it exactly like how requests do it rn,
I would love to open an issue and a pr to fix this thing.
Thankyou.
Beta Was this translation helpful? Give feedback.
All reactions