HttpMonkey::Cookie
Rack middleware to use with HttpMonkey and support magic cookies on your requests.
TOC:
Installation
Add this line to your application's Gemfile:
gem 'http_monkey-cookie'
And then execute:
$ bundle
Or install it yourself as:
$ gem install http_monkey-cookie
Usage
require "http_monkey"
require "http_monkey/cookie"
HttpMonkey.configure do
middlewares.use HttpMonkey::M::Cookie
end
response = HttpMonkey.at("http://domain.com").get
HttpMonkey.at("http://domain.com/service").get
HttpMonkey.at("http://example.com").get
Notes
This version is experimental and can explode in any moment.
Some resources to build a new cookie project: