code: def perform_http_request #:nodoc:
          request = Net::HTTP::Get.new(@uri.request_uri, @headers)
          request.basic_auth(@username, @password) if @username || @password
          http = instantiate_http
          http.start do
            http.request(request)
          end
        end
docs: Perform an HTTP request and return the response