boolean requestMethodMatch(final HttpRequest request, final HttpCacheEntry entry) {
        return request.getMethod().equalsIgnoreCase(entry.getRequestMethod()) ||
                Method.HEAD.isSame(request.getMethod()) && Method.GET.isSame(entry.getRequestMethod());
    }
Determine if I can utilize the given {@link HttpCacheEntry} to respond to the given
{@link HttpRequest}.

@since 5.4
httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/CachedResponseSuitabilityChecker.java