3 ms·
We have switched to niquests in my company and yes I can confirm that it's 10x better than httpx :)
by samset7 6mo ago
We have switched to niquests in my company and yes I can confirm that it's 10x better than httpx :)
- mesahm 6mo agonice to hear :)
- PyWoody 6mo agoDid you have any warts when switching? httpx has been "fine" for me but this thread has me seriously considering changing to niquests.
- samset7 6mo agoThe 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.
- _boffin_ 6mo agoWhat issues do / did you have with HTTPx?
- samset7 6mo agoThe 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...