-
-
Notifications
You must be signed in to change notification settings - Fork 845
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
Httpcore interface #804
Httpcore interface #804
Conversation
Turns out this was a bit of a monster, so I've taken a different tack to get moving here. Rather than adapting At the moment there's a very basic sync + async HTTP/1.1 only implementation. |
Alrighty, so this branch now has working integration against Not going to suggest that we merge it yet, but pretty happy that we're at this point. Some things to consider...
We'll also almost certainly want to start off with a pre-release version of this, since it's a big amount of churn. Also I'd really like to see Anything else to think about at this stage? |
We'll also want to drop the "The HTTPX client provides HTTP/2 support, which is currently only available with the async client." note in the docs once this goes in, since we've got HTTP/2 support in both cases in |
Worth having a look at, sure. I’ve not dig into those issues do not a lot to say on them myself yet. Let’s keep any follow-up observations on those those threads, rather than here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Impressive amount of work. This is obviously a whole lot to review, not sure how much you're expecting to receive. :) 100% yes on the idea of a pre-release/public beta anyway.
Yeah, I’d love to be able to do this in incremental, sensibly reviewable stages, but I don’t think it falls into that easily. |
I'd still like to go and review this more thoroughly, but it's hard to find the time. @tomchristie Separate note — is the plan to release the |
I think that'd probably be a sensible approach, yup. Sound okay with you? |
Sure! |
Soo.... I think it'd actually be a good plan for us to merge this to master before issuing a 0.13 pre-release. That'll ensure we're not getting out of sync as new stuff comes in. Are we okay to do that right now, or? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, let's go! 🚀
@tomchristie Actually, should we release 0.12.2 first with pending fixes in |
Last usage was removed in encode#804
Last usage was removed in encode#804
Was removed in encode#804
* Replace remaining occurrences of dispatch with transport * Remove unused AsyncDispatcher Was removed in #804 * Remove hard_limit warning in test
* Remove unused/untested headers copy() method Last usage was removed in #804 * Remove unused premature_close server endpoint Last usage was removed in #804 * Increased test coverage * Revert removal of headers copy() method Documented and added tests for it. Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
Working towards switching the dispatcher interface to the proposed
httpcore
interface. https://www.encode.io/httpcore/