TapHttp
A task library for submitting http requests using Tap.
Description
TapHttp provides modules to construct and submit HTTP requests from a hash that specifies the target url, headers, parameters, etc. TapHttp is designed to work with a Ubiquity command called redirect-http; together they allow the capture and resubmission of web forms.
Usage
TapHttp submits http requests using the Tap::Http::Request module. Headers, parameters, and other configurations may be specified, but only a request method and uri are required.
include Tap::Http
res = Request.get('http://www.google.com/search')
res.body[0,80] # => "<!doctype html><head><title>tap-http - Google Search</title><style>body{backgrou"
Submitting Web Forms
Http requests from web forms may be captured and resubmitted using a combination of tools. To do so start a tap server from the command line (of course tap-http must be installed):
% tap server
Now open a browser and work through the tutorial.
Installation
TapHttp is available as a gem on RubyForge. Use:
% gem install tap-http
Info
Copyright © 2008-2009, Regents of the University of Colorado.
- Developer
- Support
-
CU Denver School of Medicine Deans Academic Enrichment Fund
- Licence