lib/is_it_working/checks/url_check.rb
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
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
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
Perform an HTTP request and return the response
Perform an HTTP request and return the response