frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Why I forked httpx

https://tildeweb.nl/~michiel/httpxyz.html
91•roywashere•2h ago

Comments

swiftcoder•2h ago
Somehow I confused httpx with htmlx
croemer•1h ago
Same! Only just realized it thanks to your comment.
eknkc•1h ago
And also htmlx with htmx I guess?
g947o•1h ago
I guess you mean htmx. Same here. I read the article for a while, and was confused by "HTTPX is a very popular HTTP client for Python." and wondering "why is OpenAI using htmx", until I eventually realized what's going on.
jordiburgos•19m ago
I've been reading the whole article wrong too.
globular-toast•1h ago
It's a shame, httpx has so much potential to be the default Python http library. It's crazy that there isn't one really. I contributed some patches to the project some years ago now and it was a nice and friendly process. I was expecting a v1 release imminently. It looks like the author is having some issues which seem to afflict so many in this field for some reason. I notice they've changed their name since I last interacted with the project...
mesahm•1h ago
the http landscape is rather scary lately in Python. instead of forking join forces... See Niquests https://github.com/jawah/niquests

I am trying to resolve what you've seen. For years of hard work.

Orelus•1h ago
Can confirm, more features, a breeze to switch.
greatgib•1h ago
The basis of httpx is not very good at all.

I think that it owes its success to be first "port" of python requests to support async, that was a strong need.

But otherwise it is bad: API is not that great, performance is not that great, tweaking is not that great, and the maintainer mindset is not that great also. For the last point, few points were referenced in the article, but it can easily put your production project to suddenly break in a bad way without valid reason.

Without being perfect, I would advise everyone to switch to Aiohttp.

mesahm•1h ago
aiohttp is an excellent library. very stable. I concurs, but! it's too heavily tied to HTTP/1, and well, I am not a fan of opening thousands of TCP conn just to keep up with HTTP/2 onward. niquests easily beat aiohttp just using 10 conn and crush httpx see https://gist.github.com/Ousret/9e99b07e66eec48ccea5811775ec1...

fwiw, HTTP/2 is twelve years old, just saying.

sammy2255•1h ago
aiohttp is for asynchronous contexts only
u_sama•1h ago
It is indeed a shame that niquests isn't used more, I think trying to use the (c'est Français) argument to in French will bring you many initial users needed for the inertia
mesahm•1h ago
ahah, "en effet"! je m'en souviendrai.

more seriously, all that is needed is our collective effort. I've done my part by scarifying a lot of personal time for it.

duskdozer•1h ago
Is it knee-quests or nigh-quests?

I've started seeing these emoji-prefixed commits lately now too, peculiar

mesahm•1h ago
nee-quests, I am French native.
duskdozer•58m ago
I guess kind of obvious now noticing the rhyme
u_sama•1h ago
There is a series of extensions for Vscode that add this functionality like https://github.com/ugi-dev/better-commits
duskdozer•1h ago
ah ok, I am familiar with and not exactly against (non-emoji) commit message prefixes
mesahm•1h ago
it's the gitmoji thing, I really don't like it, it was a mistake. Thinking to stop it soon. I was inspired by fastapi in the early days. I prefer conventionalcommits.org
croemer•35m ago
Please don't be too much inspired by FastAPI - at least regarding maintainer bus factor and documentation (FastAPI docs are essentially tutorial only), and requiring dozens of hoops to jump through to even open an issue.
mesahm•32m ago
agreed. as I said, it was a mistake from my end. and clearly looking to better myself.
cies•1h ago
Hi Michiel!

Just a small headsup: clicking on the Leiden Python link in your About Me page give not the expected results.

And a small nitpick: it's "Michiel's" in English (where it's "Michiels" in Dutch).

Thanks for devoting time to opensource... <3

sdovan1•1h ago
I guess the Discussion on Hacker News href should be "https://news.ycombinator.com/item?id=47514603" instead of "news.ycombinator.com/item?id=47514603"
ayhanfuat•1h ago
More related drama: The Slow Collapse of MkDocs (https://fpgmaas.com/blog/collapse-of-mkdocs/)
znpy•1h ago
Oh i recognised one of the involved people immediately, drama person.

I still think that hijacking the mkdocs package was the wrong way to go though.

The foss landscape has become way too much fork-phobic.

Just fork mkdocs and go over your merry way.

rglullis•1h ago
Drama around Starlette. Drama around httpx. Drama around MkDocs. I just hope that DRF is not next, I still have some projects that depend on it.
forkerenok•48m ago
What's the drama around starlette? (Can't find anything)
globular-toast•28m ago
Right, my suspicion was correct. When I interacted with them a few years ago they seemed perfectly nice and friendly, but seem to have gone off the rails more recently. It's an uncomfortable situation and I've a feeling people are afraid to discuss this kind of thing but we really need to. People are a risk factor in software projects and we need to be resilient to changes they face. Forking is the right way, but places like GitHub have sold people on centralisation. We need to get back to decentralised dev.
duskdozer•1h ago
>thread to call out Read the Docs for profiting from MkDocs without contributing back.

>They also point out that not opening up the source code goes against the principles of Open Source software development

I will never stop being amused when people have feelings like this and also choose licenses like BSD (this project). If you wanted a culture that discouraged those behaviors, why would you choose a license that explicitly allows them? Whether you can enforce it or not, the license is basically a type of CoC that states the type of community you want to have.

nathell•1h ago
Congratulations on forking!

Always remember that open-source is an author’s gift to the world, and the author doesn’t owe anything to anyone. Thus, if you need a feature that for whatever reason can’t or won’t go upstream, forking is just about the only viable option. Fingers crossed!

cachius•26m ago
This is not merely open-source, but taking part in a huge package ecosystem in a foundational role in an XKCD 2347 type of way for HTTP requests.

Put your side project on your personal homepage and walk away - fine.

Make it central infrastructure - respond to participants or extend or cede maintainership.

mettamage•1h ago
> Visitor 4209 since we started counting

Loved that little detail, reminds me of the old interwebs :)

croemer•33m ago
It's gone from 45 when I looked at it an hour ago to 261 just now.
Kwpolska•1h ago
What is it about Python that makes developers love fragmentation so much? Sending HTTP requests is a basic capability in the modern world, the standard library should include a friendly, fully-featured, battle-tested, async-ready client. But not in Python, stdlib only has the ugly urllib.request, and everyone is using third party stuff like requests or httpx, which aren't always well maintained. (See also: packaging)
maccard•1h ago
> Then I found out it was broken. I contributed a fix. The fix was ignored and there was never any release since November 2024.

This seems like a pretty good reason to fork to me.

> Sending HTTP requests is a basic capability in the modern world, the standard library should include a friendly, fully-featured, battle-tested, async-ready client. But not in Python,

Or Javascript (well node), or golang (http/net is _worse_ than urllib IMO), Rust , Java (UrlRequest is the same as python's), even dotnet's HttpClient is... fine.

Honestly the thing that consistently surprises me is that requests hasn't been standardised and brought into the standard library

lenkite•1h ago
Your java knowledge is outdated. Java's JDK has a nice, modern HTTP Client https://docs.oracle.com/en/java/javase/11/docs/api/java.net....
localuser13•57m ago
>Honestly the thing that consistently surprises me is that requests hasn't been standardised and brought into the standard library

Instead, official documentation seems comfortable with recommending a third party package: https://docs.python.org/3/library/urllib.request.html#module...

>The Requests package is recommended for a higher-level HTTP client interface.

Which was fine when requests were the de-facto-standard only player in town, but at some point modern problems (async, http2) required modern solutions (httpx) and thus ecosystem fragmentation began.

Spivak•27m ago
Well, the reason for all the fragmentation is because the Python stdlib doesn't have the core building blocks for an async http or http2 client in the way requests could build on urllib.

The h11, h2, httpcore stack is probably the closest thing to what the Python stdlib should look like to end the fragmentation but it would be a huge undertaking for the core devs.

Kwpolska•41m ago
Node now supports the Fetch API.
francislavoie•31m ago
What, Go's net/http is fantastic. I don't understand that take. Many servers are built on it because it's so fully featured out of the box.
umvi•9m ago
What's wrong with Go's? I've never had any issues with it. Go has some of the best http batteries included of any language
dirkc•28m ago
You would think that sending HTTP requests is a basic capability, but I've had fun in many languages doing so. Long ago (2020, or not so long ago, depending on how you look at it) I was surprised that doing an HTTP request on node using no dependencies was a little awkward:

``` const response = await new Promise( (resolve, reject) => { const req = https.request(url, { }, res => { let body = ""; res.on("data", data => { body += data; }); res.on('end', () => { resolve(body); }); }); req.end(); });

```

wging•9m ago
These days node supports the fetch API, which is much simpler.
ivanjermakov•17m ago
HTTP client is at the intersection of "necessary software building block" and "RFC 2616 intricacies that are hard to implement". Has nothing to do with Python really.
glaucon•1h ago
Good line from the blog post ...

"So what is the plan now?" - "Move a little faster and not break things"

eats_indigo•51m ago
smells like supply chain attack
localuser13•49m ago
I'm not a lawyer, but are there any potential trademark issues? AFAIK in general you HAVE to change the name to something clearly different. I consider it morally OK, and it's probably fine, but HTTPXYZ is cutting it close. It's too late for a rebrand, but IMO open-source people often ignore this topic a bit too much.
CorrectHorseBat•43m ago
Don't you need to register and actively defend you trademark for it to apply?
Gander5739•42m ago
Is httpx trademarked? I couldn't find anything indicating it was.
ahoka•42m ago
I don't think HTTPX is a registered trademark.
IshKebab•39m ago
He would probably win in a legal case, but is he actually going to take it to court? I doubt it. Also I wouldn't be too offended about the name if I were him and for users it's better because it makes the link clearer.

I think if had named it HTTPX2 or HTTPY, that would be much worse because it asserts superiority without earning it. But he didn't.

zeeshana07x•48m ago
The lack of a well-maintained async HTTP client in Python's stdlib has been a pain point for a while. Makes sense someone eventually took it into their own hands
cachius•24m ago
Another abandoned project hurting users: https://github.com/benweet/stackedit
Spivak•21m ago
Do you see yourself taking over httpcore as well as it's likely to have the same maintainership problem? It would certainly instill more confidence that this is a serious fork.

This certainly wouldn't be the first time an author of a popular library got a little too distracted on the sequel to their library that the current users are left to languish a bit.

TurboQuant: Redefining AI efficiency with extreme compression

https://research.google/blog/turboquant-redefining-ai-efficiency-with-extreme-compression/
170•ray__•5h ago•35 comments

VitruvianOS – Desktop Linux Inspired by the BeOS

https://v-os.dev
148•felixding•7h ago•74 comments

Meta told to pay $375M for misleading users over child safety

https://www.bbc.com/news/articles/cql75dn07n2o
19•testrun•1h ago•2 comments

Goodbye to Sora

https://twitter.com/soraofficialapp/status/2036532795984715896
735•mikeocool•14h ago•528 comments

Flighty Airports

https://flighty.com/airports
331•skogstokig•10h ago•104 comments

Looking at Unity made me understand the point of C++ coroutines

https://mropert.github.io/2026/03/20/unity_cpp_coroutines/
9•ingve•3d ago•0 comments

Show HN: I took back Video.js after 16 years and we rewrote it to be 88% smaller

https://videojs.org/blog/videojs-v10-beta-hello-world-again
410•Heff•16h ago•83 comments

In Edison’s Revenge, Data Centers Are Transitioning From AC to DC

https://spectrum.ieee.org/data-center-dc
139•jnord•9h ago•170 comments

Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised

https://github.com/BerriAI/litellm/issues/24512
688•dot_treo•22h ago•430 comments

Apple Business

https://www.apple.com/newsroom/2026/03/introducing-apple-business-a-new-all-in-one-platform-for-b...
635•soheilpro•19h ago•364 comments

I wanted to build vertical SaaS for pest control, so I took a technician job

https://www.onhand.pro/p/i-wanted-to-build-vertical-saas-for-pest-control-i-took-a-technician-job...
308•tezclarke•13h ago•125 comments

Why I forked httpx

https://tildeweb.nl/~michiel/httpxyz.html
91•roywashere•2h ago•54 comments

You can run a DNS server (2025)

https://simonsafar.com/2025/running_dns/
81•surprisetalk•4d ago•42 comments

Arm AGI CPU

https://newsroom.arm.com/blog/introducing-arm-agi-cpu
352•RealityVoid•17h ago•261 comments

Fun with CSF firmware (RK3588 GPU firmware)

https://icecream95.gitlab.io/fun-with-csf-firmware.html
31•M95D•3d ago•0 comments

Show HN: DuckDB community extension for prefiltered HNSW using ACORN-1

https://github.com/cigrainger/duckdb-hnsw-acorn
51•cigrainger•7h ago•4 comments

Algorithm Visualizer

https://algorithm-visualizer.org/
107•vinhnx•4d ago•5 comments

The Last Testaments of Richard II and Henry IV

https://www.historytoday.com/archive/feature/last-testaments-richard-ii-and-henry-iv
9•Petiver•3d ago•0 comments

Show HN: Email.md – Markdown to responsive, email-safe HTML

https://www.emailmd.dev/
297•dancablam•18h ago•71 comments

VNDB founder Yorhel has died

https://vndb.org/t24787
33•indrora•2d ago•7 comments

Wine 11 rewrites how Linux runs Windows games at kernel with massive speed gains

https://www.xda-developers.com/wine-11-rewrites-linux-runs-windows-games-speed-gains/
950•felineflock•15h ago•335 comments

A Compiler Writing Journey

https://github.com/DoctorWkt/acwj
80•ibobev•10h ago•7 comments

Show HN: Gemini can now natively embed video, so I built sub-second video search

https://github.com/ssrajadh/sentrysearch
332•sohamrj•19h ago•91 comments

An Aural Companion for Decades, CBS News Radio Crackles to a Close

https://www.nytimes.com/2026/03/21/business/media/cbs-news-radio-appraisal.html
57•tintinnabula•3d ago•13 comments

Intel Device Modeling Language for virtual platforms

https://github.com/intel/device-modeling-language
32•transpute•4d ago•1 comments

Hypothesis, Antithesis, synthesis

https://antithesis.com/blog/2026/hegel/
251•alpaylan•19h ago•86 comments

Hypura – A storage-tier-aware LLM inference scheduler for Apple Silicon

https://github.com/t8/hypura
206•tatef•18h ago•77 comments

Missile defense is NP-complete

https://smu160.github.io/posts/missile-defense-is-np-complete/
338•O3marchnative•21h ago•346 comments

What happened to GEM?

https://dfarq.homeip.net/whatever-happened-to-gem/
78•naves•4d ago•45 comments

How the world’s first electric grid was built

https://worksinprogress.co/issue/how-the-worlds-first-electric-grid-was-built/
94•zdw•4d ago•29 comments