void handleResponse(BufferingReadStream responseStream) {
        Buffer responseBody = context.getResponseStream().getContent();
        collectResponseAttachments(responseBody).onComplete(result -> {
            if (result.failed()) {
                log.warn("Failed to collect attachments from response. Trace: {}. Span: {}",
                        context.getTraceId(), context.getSpanId(), result.cause());
            }
            completeProxyResponse(responseStream);
        });
    }
Called when proxy failed to receive response header from origin.
server/src/main/java/com/epam/aidial/core/server/controller/InterceptorController.java