Skip to content

Support Async HTTP #171

@Ugbot

Description

@Ugbot

TL;DR : replace the requests lib with HTTPX and get Async requests and http/2 support.

Python from 3.4 onwards has added Async support for IO in the asyncio package. This is increasingly core to modern python development with tools like fastAPI and django.

The core http library "requests" has lagged behind and is missing support for this along with the HTTP/2 standard.

By replacing requests with HTTPX we can achieve both these goals via a configurable interface.

This would not support any version without asyncio but its reasonable trade-off for onwards performance improvements.

┆Issue is synchronized with this Jira Story by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improved functionality.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions