TapHttp
A task library for submitting http requests using Tap.
Description
TapHttp provides modules to capture and resubmit HTTP requests. 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 Mechanize, via the Tap::Http::Submit task. Headers and parameters may be specified, but only a uri is required.
Tap::Http::Submit.new.process(:uri => 'http://www.google.com')[0, 80]
# => "<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=ISO-8859"
Submitting Web Forms
HTTP requests from web forms may be captured and resubmitted using a combination of tools. To learn how, install tap-http and start a tap server from the command line:
% 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