Http 0.2.0: HTTP so awesome it will lure Catherine Zeta Jones into your unicorn petting zoo

HTTP should be easy!

gem install http

The Http gem tries to provide the simplest, cleanest API you could
possibly
imagine:

request = Http.get “GitHub - httprb/http: HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts

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