SimpleHttpCacheReader(std::shared_ptr<SimpleHttpCache::Entry> entry) : entry_(std::move(entry)) {}
auto ctx = new InsertContext(std::move(entry), std::move(progress_receiver), std::move(source));
ctx->source_->getBody(AdjustedByteRange(0, InsertReadChunkSize), [ctx](Buffer::InstancePtr buffer,
return source_->getTrailers([this](Http::ResponseTrailerMapPtr trailers, EndStream end_stream) {
void SimpleHttpCache::Entry::updateHeadersAndMetadata(Http::ResponseHeaderMapPtr response_headers,
auto entry = std::make_shared<Entry>(Http::createHeaderMap<Http::ResponseHeaderMapImpl>(*headers),
progress->onHeadersInserted(std::make_unique<SimpleHttpCacheReader>(entry), std::move(headers),