Sha256: a0d0c6b9b4022ad78499346a70e84c3fc597ecc0b4c17ba8600819bbe11284bc

Contents?: true

Size: 140 Bytes

Versions: 47

Compression:

Stored size: 140 Bytes

Contents

require 'rubygems'
require 'mechanize'

agent = Mechanize.new
agent.set_proxy('localhost', '8000')
page = agent.get(ARGV[0])
puts page.body

Version data entries

47 entries across 47 versions & 6 rubygems

Version Path
domo-0.0.5 vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/examples/proxy_req.rb
mechanize-2.1 examples/proxy_req.rb
mechanize-2.1.pre.1 examples/proxy_req.rb
aai10-mechanize-2.0.1.0 examples/proxy_req.rb
neocoin-mechanize-2.0.2 examples/proxy_req.rb
mechanize-2.0.1 examples/proxy_req.rb
mechanize-2.0 examples/proxy_req.rb