Broken Compatibility between Curio and AsyncClient
#1953
-
The documentation lists Curio to be compatible with Environment
TracebackThe following is the traceback on a fresh virtual environment, only with Codeimport httpx
import curio
async def main():
async with httpx.AsyncClient() as client:
response = await client.get('https://www.example.com/')
print(response)
curio.run(main) Traceback
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yup thanks for raising this... Changed in httpcore 0.14.0 - See the notes here - https://github.com/encode/httpcore/blob/master/CHANGELOG.md#0140-november-11th-2021 Right now it doesn't look like it's worth our time including curio support. (or at the very least it was less important than pushing on with the httpcore redesign, and shortly releasing httpx 1.0) Anyways you're correct that this is a valid docs issue, and we need to address it. |
Beta Was this translation helpful? Give feedback.
Yup thanks for raising this...
Changed in httpcore 0.14.0 - See the notes here - https://github.com/encode/httpcore/blob/master/CHANGELOG.md#0140-november-11th-2021
Right now it doesn't look like it's worth our time including curio support. (or at the very least it was less important than pushing on with the httpcore redesign, and shortly releasing httpx 1.0)
Anyways you're correct that this is a valid docs issue, and we need to address it.