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
mechanize-2.12.2 examples/proxy_req.rb
mechanize-2.12.1 examples/proxy_req.rb
mechanize-2.12.0 examples/proxy_req.rb
mechanize-2.11.0 examples/proxy_req.rb
mechanize-2.10.1 examples/proxy_req.rb
mechanize-2.10.0 examples/proxy_req.rb
mechanize-2.9.2 examples/proxy_req.rb
mechanize-2.9.1 examples/proxy_req.rb
mechanize-2.9.0 examples/proxy_req.rb
mechanize-2.8.5 examples/proxy_req.rb
mechanize-2.8.4 examples/proxy_req.rb
mechanize-2.8.3 examples/proxy_req.rb
mechanize-2.8.2 examples/proxy_req.rb
mechanize-2.8.1 examples/proxy_req.rb
mechanize-2.8.0 examples/proxy_req.rb
mechanize-2.7.7 examples/proxy_req.rb
husc-0.2.1 vendor/bundle/gems/mechanize-2.7.6/examples/proxy_req.rb
husc-0.2.0 vendor/bundle/gems/mechanize-2.7.6/examples/proxy_req.rb
husc-0.1.1 vendor/bundle/gems/mechanize-2.7.6/examples/proxy_req.rb
husc-0.1.0 vendor/bundle/gems/mechanize-2.7.6/examples/proxy_req.rb