News for hackers. Stuff that matters.
Re:I Forked Httpx by samset7 on Wednesday March 25, 2026 @08:23AM (#47516383)
We have switched to niquests in my company and yes I can confirm that it's 10x better than httpx :)
Re:I Forked Httpx by PyWoody on Wednesday March 25, 2026 @10:42AM (#47517968)
Did you have any warts when switching? httpx has been "fine" for me but this thread has me seriously considering changing to niquests.
Re:I Forked Httpx by samset7 on Wednesday March 25, 2026 @01:32PM (#47520558)
The switch was surprisingly smooth. I think there's an official migration guide in the doc. Honestly the API is closer to the classic requests library so nobody will be lost.
Re:I Forked Httpx by mesahm on Wednesday March 25, 2026 @08:24AM (#47516406)
nice to hear :)
Re:I Forked Httpx by _boffin_ on Wednesday March 25, 2026 @12:20PM (#47519465)
What issues do / did you have with HTTPx?
Re:I Forked Httpx by samset7 on Wednesday March 25, 2026 @01:26PM (#47520456)
The main pain points for us were: thread-safety issues (httpx claims to be thread-safe but we hit race conditions in production), no HTTP/3 support, and the redirect behavior requiring explicit opt-in everywhere. Also the multiplexing story in httpx is quite limited compared to what niquests offers out of the box. On top of that, httpx maintenance has been slow to acknowledge valid bug reports, the thread-safety issue took over a year to even be acknowledged...