aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcache.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-10-01 18:02:33 +0200
committerStefan Boberg <[email protected]>2021-10-01 18:02:33 +0200
commit911d3026f23a7560c3d614dffa2c6654d37b4571 (patch)
tree10166b062412cd529bc430d1e541bd734436028d /zenserver/cache/structuredcache.cpp
parentImproved error handling for upstream endpoints. (diff)
downloadzen-911d3026f23a7560c3d614dffa2c6654d37b4571.tar.xz
zen-911d3026f23a7560c3d614dffa2c6654d37b4571.zip
structured cache: Fixed package payload endpoint handling of HEAD
Diffstat (limited to 'zenserver/cache/structuredcache.cpp')
-rw-r--r--zenserver/cache/structuredcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenserver/cache/structuredcache.cpp b/zenserver/cache/structuredcache.cpp
index e45a26fb9..a4a19881c 100644
--- a/zenserver/cache/structuredcache.cpp
+++ b/zenserver/cache/structuredcache.cpp
@@ -667,11 +667,11 @@ HttpStructuredCacheService::HandleCachePayloadRequest(HttpServerRequest& Request
case kHead:
case kGet:
{
- HandleGetCachePayload(Request, Ref, Policy);
if (Verb == kHead)
{
Request.SetSuppressResponseBody();
}
+ HandleGetCachePayload(Request, Ref, Policy);
}
break;
case kPut: