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

Update to httpcore 0.10 #1126

Merged
merged 9 commits into from
Aug 7, 2020
Merged

Update to httpcore 0.10 #1126

merged 9 commits into from
Aug 7, 2020

Conversation

tomchristie
Copy link
Member

@tomchristie tomchristie commented Aug 3, 2020

  • Add UnsupportedProtocol, LocalProtocolError, RemoteProtocolError, remove InvalidURL.
  • Use timeout: Mapping[str, Optional[float] instead of timeout: Dict[str, Optional[float].
  • Remove enforce_http_url and defer all scheme checking to the transport layer.
  • Use httpcore.PlainByteStream/httpcore.IteratorByteStream.
  • Use max_keepalive_connections not max_keepalive

(Also, builds on #1125)

Once httpcore 0.10 is released, we should update the httpcore version pin in this PR, ensure this all passes, and get it pulled in.

@tomchristie tomchristie added this to the v0.14 milestone Aug 3, 2020
httpx/_exceptions.py Outdated Show resolved Hide resolved
tomchristie and others added 2 commits August 5, 2020 12:40
This was referenced Aug 6, 2020
@tomchristie tomchristie merged commit 876e722 into master Aug 7, 2020
@tomchristie tomchristie deleted the update-to-httpcore-0.10 branch August 7, 2020 13:14
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.

2 participants