-
-
Notifications
You must be signed in to change notification settings - Fork 880
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
httpx.Request don't take the same arguments #794
Comments
Happy to review any PRs that document which parameters aren’t present on our From what I can see these are:
|
Lines 591 to 604 in 82dc6f3
However, Lines 18 to 34 in 82dc6f3
Hooks are discussed here: #790 |
Not immediately obvious to me that this was a deliberate design choice, or just the way things ended up being implemented. (We're passing |
I think we proabably want to keep things as they are. When I started out the "Requests Compatability" the intention was to document anything that differed across the Basic and Advanced usage guides, rather than that lower level bits of API would match all the way through. It makes sense to me that our I think we might be okay with a slightly general "Not all stuff in the lower level bits of API might match up exactly", giving a couple of examples? Or else perhaps a section for low level API differences, where we briefly list any notable cases. (Eg. I also haven't reviewed how our |
Agreed, I think it was only top-level compatibility ( |
@florimondmanca hey, you should close this PR as #823 is already been merged. 😄 |
Thanks for the heads up @Pradhvan! |
the
httpx.Request
takes(method, url, [params], [data], [json], [headers], [cookies])
and the
requests.Request
takes(method=None, url=None, headers=None, files=None, data={}, params={}, auth=None, cookies=None, hooks=None)
this should be pointed out in the documentation or implemented
The text was updated successfully, but these errors were encountered: