Skip to content

The state of HTTP clients, or why you should use httpx

honeyryderchuck.gitlab.io
24 pointsScotterC4 comments
On HN

Comments

You’ll also need to ensure that the version of libcurl you want to compile against is installed in your production servers, which makes server setups (containers or not) more cumbersome to maintain: installing curl, or libcurl, is usually something left for the system package manager to handle (aptget, yum, brew…), but these tend to take years to adopt the “latest greatest” version of libcurl, in this case the one containing that security fix you so desperately need.

Come one, any respectable Linux distribution delivers security fixes. Take for example Red Hat Enterprise Linux [1][2].

[1]: https://access.redhat.com/security/cve/cve-2023-38545

[2]: https://access.redhat.com/errata/RHSA-2023:5700

So in short, what does HTTPX do different? Any good selling points?

The whole article is worth reading, there's also the features matrix:

https://honeyryderchuck.gitlab.io/2023/10/15/state-of-ruby-h...

The table gave a pretty good summary, thanks!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.