httpx

Send synchronous and asynchronous HTTP requests with HTTP/2 support in Python.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Leonard-Data/report-convertor --skill httpx-leonard-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: httpx
Source: https://github.com/Leonard-Data/report-convertor/tree/main/.agents/skills/httpx
Command: npx skills add https://github.com/Leonard-Data/report-convertor --skill httpx-leonard-data

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enable reliable, fast HTTP requests in both synchronous and asynchronous Python applications.

Core Features & Use Cases

  • Async and synchronous APIs provide flexibility for modern Python apps.
  • HTTP/2 support, timeouts, retries, streaming, and authentication for robust integrations.
  • Use cases: calling external APIs, microservices, data ingestion, and service-to-service communication.

Quick Start

Install httpx with pip and start making fast, reliable HTTP requests in minutes.

Frequently Asked Questions about httpx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make async HTTP requests in Python with HTTP/2 support?

To make async HTTP requests with HTTP/2 support, you can use this Python client which provides both synchronous and asynchronous APIs. It handles modern Python typing and flexible transport configurations for robust integrations.

What is the best way to handle timeouts and retries for external API calls in Python?

Handling timeouts and retries for external API calls is achieved through built-in configuration options in this HTTP client. It provides robust error handling and reliable service-to-service communication for modern Python applications.

Can I use this Python HTTP client for streaming data from microservices?

Yes, you can use this Python HTTP client for streaming data from microservices. It explicitly supports streaming responses alongside authentication and flexible transport configurations for data ingestion workflows.

Does this HTTP client work for both synchronous and asynchronous Python applications?

This HTTP client works for both synchronous and asynchronous Python applications. It provides a flexible, ergonomic API design that meets the requirements of modern Python typing across various web service environments.

Why should I choose an async HTTP client over other Python request libraries for microservices?

Choosing an async HTTP client provides HTTP/2 support, robust error handling, and flexible transport configurations specifically designed for microservices. This ensures reliable, fast service-to-service communication compared to standard request libraries.