aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcache.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-10-03 20:11:05 +0200
committerStefan Boberg <[email protected]>2021-10-03 20:11:05 +0200
commit18186784b56fe81d2ef5e7e53398491d494f7551 (patch)
treec582ad28b0b79fbaa3401525ed6cb4c05ee08b3c /zenserver/cache/structuredcache.cpp
parentMerge branch 'main' of https://github.com/EpicGames/zen (diff)
downloadzen-18186784b56fe81d2ef5e7e53398491d494f7551.tar.xz
zen-18186784b56fe81d2ef5e7e53398491d494f7551.zip
http: Moved logic for body suppression to a more central location
this should prevent some mistake-induced bugs hopefully
Diffstat (limited to 'zenserver/cache/structuredcache.cpp')
-rw-r--r--zenserver/cache/structuredcache.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/zenserver/cache/structuredcache.cpp b/zenserver/cache/structuredcache.cpp
index 72fc7f3af..d6174caf6 100644
--- a/zenserver/cache/structuredcache.cpp
+++ b/zenserver/cache/structuredcache.cpp
@@ -272,10 +272,6 @@ HttpStructuredCacheService::HandleCacheRecordRequest(HttpServerRequest& Request,
case kHead:
case kGet:
{
- if (Verb == kHead)
- {
- Request.SetSuppressResponseBody();
- }
HandleGetCacheRecord(Request, Ref, Policy);
}
break;
@@ -692,10 +688,6 @@ HttpStructuredCacheService::HandleCachePayloadRequest(HttpServerRequest& Request
case kHead:
case kGet:
{
- if (Verb == kHead)
- {
- Request.SetSuppressResponseBody();
- }
HandleGetCachePayload(Request, Ref, Policy);
}
break;