Skip to content
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

Switch to built-in 'httpx._core' instead of 'httpcore' #1758

Closed
wants to merge 6 commits into from

Conversation

tomchristie
Copy link
Member

@tomchristie tomchristie commented Jul 20, 2021

See discussion #1741.

First pass at including the core networking functionality of httpcore, but built-in directly to httpx.

There's a bunch of work remaining on this, but wanted to get a first pass up for now.

The work here does some fundamental rejigging in order to:

  • Wire-up HTTPTransport to httpx._core.ConnectionPool.
  • Implement proxy support.
  • Implement timeouts.
  • Wire up correct Transport exceptions.
  • AnyIO backend.
  • HTTP/2.
  • Retries, UDS, Local Address.

Everything we're working with here is private API, but the plan is that longer term we'll eventually open some of it up as public API.

tomchristie and others added 2 commits July 29, 2021 14:53
* Wire up HTTPTransport

* Update httpx/_core/base.py

Co-authored-by: Taras Sotnikov <[email protected]>

Co-authored-by: Taras Sotnikov <[email protected]>
@tomchristie tomchristie closed this Aug 6, 2021
@tomchristie tomchristie deleted the version-0.19 branch August 6, 2021 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant