We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ebaf1fc + 85b7927 commit 46e553cCopy full SHA for 46e553c
src/WebApi.OutputCache.V2/CacheOutputAttribute.cs
@@ -194,6 +194,8 @@ public override void OnActionExecuting(HttpActionContext actionContext)
194
{
195
var time = CacheTimeQuery.Execute(DateTime.Now);
196
var quickResponse = actionContext.Request.CreateResponse(HttpStatusCode.NotModified);
197
+
198
+ SetEtag(quickResponse, etag);
199
ApplyCacheHeaders(quickResponse, time);
200
actionContext.Response = quickResponse;
201
return;
0 commit comments