README.rdoc in faraday-0.3.1 vs README.rdoc in faraday-0.4.0
- old
+ new
@@ -24,10 +24,13 @@
req.url "/nigiri.json", :page => 2
req[:content_type] = 'application/json'
req.body = {:name => 'Unagi'}
end
+ # If you're ready to roll with just the bare minimum (net/http):
+ resp1 = Faraday.get 'http://sushi.com/nigiri/sake.json'
+
== Testing
# It's possible to define stubbed request outside a test adapter block.
stubs = Faraday::Test::Stubs.new do |stub|
stub.get('/tamago') { [200, {}, 'egg'] }
@@ -61,10 +64,10 @@
== TODO
* Add curb/em-http support
* Add xml parsing
-* Support timeouts, proxy servers, ssl options
+* Support timeouts, proxy servers, ssl options on Typhoeus/Patron
* Add streaming requests and responses
* Add default middleware load out for common cases
* Add symbol => string index for mime types (:json => 'application/json')
== Note on Patches/Pull Requests