diff --git a/src/Microsoft.AspNetCore.Antiforgery/Internal/DefaultAntiforgery.cs b/src/Microsoft.AspNetCore.Antiforgery/Internal/DefaultAntiforgery.cs
index 5cc860b593..cef46be893 100644
--- a/src/Microsoft.AspNetCore.Antiforgery/Internal/DefaultAntiforgery.cs
+++ b/src/Microsoft.AspNetCore.Antiforgery/Internal/DefaultAntiforgery.cs
@@ -380,13 +380,13 @@ namespace Microsoft.AspNetCore.Antiforgery.Internal
/// The .
protected virtual void SetDoNotCacheHeaders(HttpContext httpContext)
{
- // Since antifogery token generation is not very obvious to the end users (ex: MVC's form tag generates them
- // by default), log a warning to let users know of the change in behavior to any cache headers they might
- // have set explicitly.
- LogCacheHeaderOverrideWarning(httpContext.Response);
+ // Since antifogery token generation is not very obvious to the end users (ex: MVC's form tag generates them
+ // by default), log a warning to let users know of the change in behavior to any cache headers they might
+ // have set explicitly.
+ LogCacheHeaderOverrideWarning(httpContext.Response);
- httpContext.Response.Headers[HeaderNames.CacheControl] = "no-cache, no-store";
- httpContext.Response.Headers[HeaderNames.Pragma] = "no-cache";
+ httpContext.Response.Headers[HeaderNames.CacheControl] = "no-cache, no-store";
+ httpContext.Response.Headers[HeaderNames.Pragma] = "no-cache";
}
private void LogCacheHeaderOverrideWarning(HttpResponse response)