# File lib/selenium/client/protocol.rb, line 83
      def http_post(data)
        start = Time.now
        called_from = caller.detect{|line| line !~ /(selenium-client|vendor|usr\/lib\/ruby|\(eval\))/i}
        http = Net::HTTP.new(@host, @port)
        http.open_timeout = default_timeout_in_seconds
        http.read_timeout = default_timeout_in_seconds
        response = http.post('/selenium-server/driver/', data, HTTP_HEADERS)
        if response.body !~ /^OK/
          puts "#{start} selenium-client received failure from selenium server:"
          puts "requested:"
          puts "\t" + CGI::unescape(data.split('&').join("\n\t"))
          puts "received:"
          puts "\t#{response.body.inspect}"
          puts "\tcalled from #{called_from}"
        end
        [ response.body[0..1], response.body ]
      end