private static boolean shouldOverride(ResponseHeaders headers, HttpHeaders trailers) {
        if (!trailers.isEmpty()) {
            return true;
        }
        if (headers.isEmpty()) {
            return false;
        }
        if (headers.size() == 1 && headers.contains(HttpHeaderNames.STATUS)) {
            return false;
        }
        return true;
    }
A response converter implementation which creates an {@link HttpResponse} when the {@code result} is
an instance of {@link HttpFile}.
core/src/main/java/com/linecorp/armeria/server/annotation/HttpFileResponseConverterFunction.java