code: private CloseableHttpResponse getHttpHeadResponse(
              final String destinationUrl,
              final HttpClientContext context) throws IOException {
          HttpHead request = new HttpHead(destinationUrl);
          return httpClient.execute(request, context);
      }
docs: Sends an HTTP HEAD request to the given URL and returns the response.
  
  @param destinationUrl the destination URL
  
  @return the HTTP HEAD response
  
  @throws IOException if an error occurs while trying to fulfill the request