# File lib/puppet/network/http/handler.rb, line 120 120: def do_head(indirection_request, request, response) 121: unless indirection_request.model.head(indirection_request.key, indirection_request.to_hash) 122: Puppet.info("Could not find #{indirection_request.indirection_name} for '#{indirection_request.key}'") 123: return do_exception(response, "Could not find #{indirection_request.indirection_name} #{indirection_request.key}", 404) 124: end 125: 126: # No need to set a response because no response is expected from a 127: # HEAD request. All we need to do is not die. 128: end