From: florimondmanca Date: Mon, 13 Feb 2023 00:02:58 +0000 (+0100) Subject: Use httpcore PR X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8afd29a8ceaa01112250c2462cb94cbe97857cc2;p=thirdparty%2Fhttpx.git Use httpcore PR --- 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", ]