# Pydantic takes over HTTPX, releases HTTPX2 with HTTP/2 and async support

> Hacker News story 49477157 · language: en · submitted 2026-08-28
> Web version: https://zeli.app/story/49477157
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 129 · by [tosh](<https://news.ycombinator.com/user?id=tosh>) · 💬 41
[original](<https://github.com/pydantic/httpx2>) · [HN discussion](<https://news.ycombinator.com/item?id=49477157>)

## Summary

Pydantic has assumed stewardship of the popular HTTPX library, releasing HTTPX2 as a continuation with an integrated command-line client, HTTP/1.1 and HTTP/2 support, and both sync and async APIs. It remains requests-compatible, fully type-annotated, and includes strict timeouts and 100% test coverage. The project aims to provide a reliably maintained path forward, including timely security updates, for a library critical to many production systems.

## Key quote

> With HTTPX itself seeing limited activity recently, Pydantic is picking up stewardship under the HTTPX2 name so that users have a reliably maintained path forward - including timely security updates for a library that sits in the critical path of so many production systems.

## HN discussion (41 comments)

### [BoumTAC](<https://news.ycombinator.com/item?id=49479457>)

> Noob question: what's the purpose of having so many request libraries? In JavaScript it's crazy, but in Python it's starting to feel the same: requests, httpx, httpx2...
>
> From my perspective, HTTP requests have been mastered for years (decades?). What's the point of switching libraries? What's so extraordinary about the new HTTP library that makes requests look crap?
>
> I understand that new protocols appear from time to time (like HTTP/2), but that's very rare. And if there are performance differences between two libraries, are they really that huge? Even if they are, 99% of people don't need that boost. What prevents someone from just improving the existing library's performance?

### [jenders](<https://news.ycombinator.com/item?id=49478640>)

> I would been pleased to see this project named something else, maybe “httpx-ng” or “httpy” as I immediately link “http*2” with the obsolete http/2 protocol and not the httpx project.

### [casper14](<https://news.ycombinator.com/item?id=49478655>)

> People should be aware how much worse HTTPX performs versus Aiohttp. For high scale systems it makes a massive difference

### [niltecedu](<https://news.ycombinator.com/item?id=49481821>)

> Everytime someone is using httpx I always wonder why use that especially when niquests exists? I feel like it has always been such a better package

### [WalterGR](<https://news.ycombinator.com/item?id=49478359>)

> Also see the user’s other submission https://news.ycombinator.com/item?id=49477212
>
> “OpenAI: Migrating to HTTPX2” (github.com/openai)
>
> 66 points | 1 hour ago | 50 comments

---

## Cite

- Page: https://zeli.app/story/49477157
- Date: 2026-08-28
- Source: github.com (https://github.com/pydantic/httpx2)
- Hacker News: https://news.ycombinator.com/item?id=49477157

## Other languages

- zh: https://zeli.app/zh/story/49477157 · markdown: https://zeli.app/zh/story/49477157.md
- ja: https://zeli.app/ja/story/49477157 · markdown: https://zeli.app/ja/story/49477157.md
- ko: https://zeli.app/ko/story/49477157 · markdown: https://zeli.app/ko/story/49477157.md
- de: https://zeli.app/de/story/49477157 · markdown: https://zeli.app/de/story/49477157.md
- es: https://zeli.app/es/story/49477157 · markdown: https://zeli.app/es/story/49477157.md
- ru: https://zeli.app/ru/story/49477157 · markdown: https://zeli.app/ru/story/49477157.md
