A write-up of a tricky aspect of saving Mechanize agent cookies.
A few weeks back I asked what ruby HTTP client library folks preferred. I’ve since collected over 700 responses, which seems like a pretty decent sample. You can check out the results for yourself, or look at the full list of responses, but here are some highlights. And the winner is…
We all know that Ruby’s built-in HTTP client library is a bit… wonky. As a result, there are a plethora of substitutes for it, each with unique features and boasting their own idea of a good HTTP client API. I’m curious: what HTTP client library do you reach for when you have a choice? And […]
I’ve been trying to use Benoit Chesneau’s hackney library to hit the Wistia API from an Elixir program. Between the fact that hackney is still under rapid development, and the fact that I’m not great at reading Erlang code, it’s been slow going. I found myself needing a way to see exactly what the requests […]
Sometimes on RubyTapas I serialize larger projects into bite-sized pieces. In this episode, you can see a slice of the outside-in TDD process I use as I develop part of my gem-love project. You’ll see me thinking about messages before objects, a la POODR, and using WebMock to fake out a not-yet-existent server.