Reason #91 • April 1st, 2026

A plethora of HTTP clients

Nothing embodies "the more the merrier" better than Ruby's HTTP client ecosystem. There are dozens of libraries to choose from, each with its own unique features and quirks. To name a few:

It's perhaps the one area where Ruby can rival the npm for options. Having so many choices is really just fantastic. It means that you can pick the right tool for the job.

Which one to choose?

Well, odds are at least a handful of these are in your dependency tree via transitive dependencies already, so go ahead and try them out, see what sticks.

History

net-http, which started it all, was introduced in Ruby 1.4.4 in 2000.

We really owe it to the core team for creating such a universally unpopular HTTP client. Without net-http, there would have been no need for the others to exist, and we would have been stuck with a single option for all our HTTP needs.

Tomorrow, on the 2nd of April, we'll return to our regular programming with some... actual more reasons to love Ruby 🫶

Reason #92 ?