HTTP should be easy!
gem install http
The Http gem tries to provide the simplest, cleanest API you could possibly
imagine:
request = Http.get "https://github.com/tarcieri/http"
In addition to that, Http provides a "chainable" API similar in concept to
JQuery and the Requests library from python.
0.2.0 brings a lot of internal refactoring to support more complicated use
cases. Request and response objects are now supported for more complicated
requests.
This version continues to use Net::HTTP internally, however it will be the
last release to work this way. This release ships much internal refactoring
which I wanted to release prior to switching the internals, however
subsequent releases will use a newly rewritten client based on
http_parser.rb.
···
--
Full changelog:
* Request and response objects
* Callback system
* Internal refactoring ensuring true chainability
* Use the certified gem to ensure SSL certificate verification
--
Tony Arcieri