From 8afd29a8ceaa01112250c2462cb94cbe97857cc2 Mon Sep 17 00:00:00 2001 From: florimondmanca Date: Mon, 13 Feb 2023 01:02:58 +0100 Subject: [PATCH] Use httpcore PR --- httpx/_models.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/httpx/_models.py b/httpx/_models.py index f3cc0061..f6fe5a17 100644 --- a/httpx/_models.py +++ b/httpx/_models.py @@ -3,8 +3,8 @@ import email.message import json as jsonlib import typing import urllib.request -from contextlib import aclosing from collections.abc import Mapping +from contextlib import aclosing from http.cookiejar import Cookie, CookieJar from ._content import ByteStream, UnattachedStream, encode_request, encode_response diff --git a/pyproject.toml b/pyproject.toml index b11c0282..b7cc224f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ classifiers = [ ] dependencies = [ "certifi", - "httpcore>=0.15.0,<0.17.0", + "httpcore==git+https://github.com/encode/httpcore.git@bug/async-early-stream-break", "idna", "sniffio", ] -- 2.47.3