private HttpResponse newResponse(HttpMethod method, boolean isHealthy) {
        final AggregatedHttpResponse aRes = getResponse(isHealthy);

        if (method == HttpMethod.HEAD) {
            return HttpResponse.of(aRes.headers());
        } else {
            return aRes.toHttpResponse();
        }
    }
Extends the request timeout by the specified {@code longPollingTimeoutMillis}, because otherwise
the client will get {@code "503 Service Unavailable} due to a {@link RequestTimeoutException} before
long-polling finishes.
core/src/main/java/com/linecorp/armeria/server/healthcheck/HealthCheckService.java