1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-10 18:44:04 +02:00

feat: add vendor http header to cached responses (#4040)

This commit is contained in:
Dag
2024-03-31 21:02:55 +02:00
committed by GitHub
parent 8ca1b90840
commit 73289324bd
4 changed files with 15 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ class DisplayAction implements ActionInterface
return new Response('', 304, ['last-modified' => $modificationTimeGMT . 'GMT']);
}
}
return $cachedResponse;
return $cachedResponse->withHeader('rss-bridge', 'This is a cached response');
}
if (!$bridgeName) {