Just been updating our test matrix to add Ruby 4 and saw we've got faraday and faraday_follow-redirects in our bundle. The latter needed upgrading for Ruby 4 compatibility.
A super simple fix, but it got me thinking that we shouldn't really have a dependency the size of Faraday for the tiny number of use cases we have for HTTP requests. Users can pull it in if they wish.
I propose we use net/http internally and drop the Faraday dependency so it's one less external piece to worry about.
Just been updating our test matrix to add Ruby 4 and saw we've got
faradayandfaraday_follow-redirectsin our bundle. The latter needed upgrading for Ruby 4 compatibility.A super simple fix, but it got me thinking that we shouldn't really have a dependency the size of Faraday for the tiny number of use cases we have for HTTP requests. Users can pull it in if they wish.
I propose we use
net/httpinternally and drop the Faraday dependency so it's one less external piece to worry about.