httpx2 - Fork by Pydantic

Lobsters Hottest Tools

Summary

Pydantic has forked the httpx HTTP library to create httpx2, addressing maintenance issues. The original fork httpxyz welcomes this and encourages the community to support httpx2.

<p><a href="https://lobste.rs/s/nzqsjf/httpx2_fork_by_pydantic">Comments</a></p>
Original Article
View Cached Full Text

Cached at: 05/14/26, 08:29 AM

# httpx2! | Blog Source: [https://tildeweb.nl/~michiel/httpx2.html](https://tildeweb.nl/~michiel/httpx2.html) ## httpx2\! It’s six weeks after we forked[httpx](https://github.com/encode/httpx)and named our package[httpxyz](https://httpxyz.org/)\. Yesterday, the Pydantic people started their own fork,[httpx2](https://github.com/pydantic/httpx2)\. TL;DR: while we think httpxyz was definitely needed, we welcome httpx2 and think it should be the ‘blessed’ fork\. ![httpxyz logo](https://tildeweb.nl/~michiel/images/httpxyz.png) ## About httpx2 ### Our fork We did a bunch of work on httpx, merging old open pull requests, forking httpcore, and making serious improvements fixing performance and other issues\. ### The Pydantic fork Straight after we made our fork, I contacted Kludex, who is among other things maintainer of Starlette, about our fork\. He said that he had also been thinking about doing a fork, but that he might prefer to do one himself, and also that he thought that ours could not get popular because it’s on Codeberg instead of on GitHub\. I’m not really sure about that last one\. While it’s true that there are still no big examples of popular Python packages on Codeberg, more and more projects are currently moving there\. Also, even though we are on Codeberg, every single day we were still gaining ‘stars’ and if the Pydantic team would have backed our fork, with their power we definitely could have made it a success\. The majority of users don’t care at what forge the code is hosted, they install from PyPI, via`pip`or`uv`\. Where the code is hosted is not really a factor in the popularity\. ### The way forward The reason I started httpxyz was because of the impasse httpx was in, and that I felt something had to be done\. It’s not that I wanted to be the maintainer of an HTTP library per se ;\-\) So now that Pydantic, with their skillful team and their powerful ecosystem of packages, is creating their own fork, there is no point really in trying to*compete*with them\. We’ll keep httpxyz up; but we will support httpx2 and will urge anyone who is trying to switch away from httpx to consider httpx2\. ### The current situation As it stands, httpx2 is lacking the performance improvements we added to httpxyz\. But it will not be long before they will add those, too\. Also they already made some smart decisions I had been unsure about: - they are switching from certifi to[truststore](https://github.com/pydantic/httpx2/pull/209) - they are switching to[compression\.zstd](https://github.com/pydantic/httpx2/pull/933)on Python 3\.14\+, enabling zstd compression by default - they[merged httpcore](https://github.com/pydantic/httpx2/commit/160c7f59d7942efe0133516c161d39139780eb45)and vendored it in their repository I have great trust in their stewardship of the module\. We don’t need ‘competing’ forks; we’ll fully support httpx2 and will encourage the community to do the same\! Thanks, and have fun\! *[Discussion on Hacker News](https://news.ycombinator.com/item?id=48127570)*

Similar Articles

On forking the Web

Lobsters Hottest

Developer Rodrigo Arias Mallo proposes forking the Web by creating an alternative, simplified HTML/Web specification with goals including strict semantic versioning, a formal unambiguous grammar, and a size-constrained spec to encourage browser diversity. The proposal is linked to the lightweight Dillo browser project.

@0xblacklight: https://x.com/0xblacklight/status/2055000745251070368

X AI KOLs Timeline

Context forking is a technique used by coding agents to rewind the conversation history, allowing developers to reuse high-quality context, save time and tokens, and explore different design paths. This guide explains how to use context forking effectively.

Codex Discovered a Hidden HTTP/2 Bomb

Lobsters Hottest

Codex discovered a remote denial-of-service exploit dubbed 'HTTP/2 Bomb' that targets HPACK compression in major web servers (nginx, Apache, IIS, Envoy, Pingora), chaining a compression bomb with flow-control hold to exhaust server memory quickly.

XTLS/Xray-core

GitHub Trending (daily)

Xray-core is an open-source network proxy/tunneling toolkit originating from the XTLS protocol, offering tools like REALITY and VLESS for secure network communications. The project supports various installation methods including Docker, Linux scripts, and web panels, and accepts crypto donations.