# File lib/rfuzz/browser.rb, line 17 17: def initialize(host, port=80, ops={}, agent=DEFAULT_AGENT) 18: @agent = agent 19: @client = HttpClient.new(host, port, ops) 20: 21: ops[:head] ||= {} 22: ops[:head]["User-Agent"] ||= @agent 23: 24: @doc = nil 25: @response = nil 26: end