# File lib/openid/fetchers.rb, line 77
    def get_http_obj(uri)
      http = Net::HTTP.new(uri.host, uri.port)
      http.read_timeout = @read_timeout
      http.open_timeout = @open_timeout

      if uri.scheme == 'https'
        if HAS_OPENSSL
          http.use_ssl = true
          http.verify_mode = @ssl_verify_mode
        else
          OpenID::Util.log("Trying to fetch HTTPS page without openssl. #{uri.to_s}")
        end
      end

      return http
    end