@Override
            public void onError(Throwable cause) {
                content.interrupt(cause);
                if (!headersFuture.isDone()) {
                    headersFuture.complete(headers());
                }
            }
Returns a snapshot of the available headers.
resteasy/src/main/java/com/linecorp/armeria/internal/common/resteasy/HttpMessageStream.java