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.
1 parent 9ba890d commit 85b7927Copy full SHA for 85b7927
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