README in tap-http-0.1.0 vs README in tap-http-0.2.0
- old
+ new
@@ -20,11 +20,11 @@
parameters, and other configurations may be specified, but the only required
field is :url.
include Tap::Http
- res = Dispatch.submit_request(
+ res = Dispatch.submit(
:params => {'q' => 'tap-http'},
:url => 'http://www.google.com/search')
res.body[0,80] # => "<!doctype html><head><title>tap-http - Google Search</title><style>body{backgrou"
@@ -71,16 +71,16 @@
hl: en
oq: ""
q: tap-http
request_method: GET
url: http://www.google.com/search
- version: "1.1"
+ version: 1.1
-Save the file as 'request.yml' and resubmit the form using the Tap::Http::Request
+Save the file as 'request.yml' and resubmit the form using the Tap::Http::Dispatch
task.
- % rap load requests.yml --:i request --+ dump --no-audit
+ % rap load requests.yml --:i dispatch --+ dump --no-audit
I[10:51:40] load request.yml
I[10:51:40] GET http://www.google.com/search
I[10:51:41] OK
# date: 2008-11-25 10:51:41
---
@@ -96,10 +96,10 @@
the request results could be passed into a workflow. Alternatively, the
configuration could be used to submit the request using Dispatch.
=== Bugs/Known Issues
-The Tap::Http::Helpers#parse_cgi_request (used in parsing redirected requests
+The Tap::Http::Utils#parse_cgi_request (used in parsing redirected requests
into a YAML file) is currently untested because I can't figure a way to setup
the ENV variables in a standard way. Of course I could set them up myself, but
I can't be sure I'm setting up a realistic test environment.
The capture procedure seems to work in practice, but please report bugs and let