README.txt in net-http-pipeline-0.1 vs README.txt in net-http-pipeline-1.0

- old
+ new

@@ -3,12 +3,13 @@ * http://seattlerb.rubyforge.org/net-http-pipeline * http://github.com/drbrain/net-http-pipeline == DESCRIPTION: -An HTTP/1.1 pipelining implementation atop Net::HTTP. This is an experimental -proof of concept. +An HTTP/1.1 pipelining implementation atop Net::HTTP. A pipelined connection +sends multiple requests to the HTTP server without waiting for the responses. +The server will respond in-order. == FEATURES/PROBLEMS: * Provides HTTP/1.1 pipelining * Does not implement request wrangling per RFC 2616 8.1.2.2 @@ -19,11 +20,12 @@ require 'net/http/pipeline' Net::HTTP.start 'localhost' do |http| req1 = Net::HTTP::Get.new '/' req2 = Net::HTTP::Get.new '/' + req3 = Net::HTTP::Get.new '/' - http.pipeline req1, req2 do |res| + http.pipeline [req1, req2, req3] do |res| puts res.code puts res.body[0..60].inspect puts end end