diff options
author | crupest <crupest@outlook.com> | 2020-08-23 17:17:04 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-08-23 17:17:04 +0800 |
commit | b1b10b7dda86138d020b1545b4de55b37ee793b3 (patch) | |
tree | 7edfeca01b33e2bff98f10148b371d473e73a299 /Timeline/Helpers/DataCacheHelper.cs | |
parent | ed5b550e8a19be250952371c60e1c1f3d2864a1e (diff) | |
download | timeline-b1b10b7dda86138d020b1545b4de55b37ee793b3.tar.gz timeline-b1b10b7dda86138d020b1545b4de55b37ee793b3.tar.bz2 timeline-b1b10b7dda86138d020b1545b4de55b37ee793b3.zip |
Add produces and consumes .
Diffstat (limited to 'Timeline/Helpers/DataCacheHelper.cs')
-rw-r--r-- | Timeline/Helpers/DataCacheHelper.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Helpers/DataCacheHelper.cs b/Timeline/Helpers/DataCacheHelper.cs index 574d90b4..1ad69708 100644 --- a/Timeline/Helpers/DataCacheHelper.cs +++ b/Timeline/Helpers/DataCacheHelper.cs @@ -107,7 +107,7 @@ namespace Timeline.Helpers controller.Response.Headers.Add(ETagHeaderKey, eTagValue);
controller.Response.Headers.Add(CacheControlHeaderKey, GenerateCacheControlHeaderValue());
- return controller.StatusCode(StatusCodes.Status304NotModified);
+ return controller.StatusCode(StatusCodes.Status304NotModified, null);
}
}
|