Skip to content

Commit

Permalink
Update server_utils.rs
Browse files Browse the repository at this point in the history
Signed-off-by: gitworkflows <[email protected]>
  • Loading branch information
gitworkflows authored Aug 15, 2024
1 parent f70d378 commit 7f4038f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bongonet-proxy/tests/utils/server_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,9 @@ impl ProxyHttp for ExampleProxyCache {
CachePhase::Hit => upstream_response.insert_header("x-cache-status", "hit")?,
CachePhase::Miss => upstream_response.insert_header("x-cache-status", "miss")?,
CachePhase::Stale => upstream_response.insert_header("x-cache-status", "stale")?,
CachePhase::StaleUpdating => {
upstream_response.insert_header("x-cache-status", "stale-updating")?
}
CachePhase::Expired => {
upstream_response.insert_header("x-cache-status", "expired")?
}
Expand Down

0 comments on commit 7f4038f

Please sign in to comment.