13 references to ContentSecurityPolicy
Aspire.Dashboard.Tests (1)
Integration\StartupTests.cs (1)
697
Assert.NotEmpty(response.Headers.GetValues(HeaderNames.
ContentSecurityPolicy
).Single());
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
89
StringValues ContentSecurityPolicy { get => this[HeaderNames.
ContentSecurityPolicy
]; set => this[HeaderNames.
ContentSecurityPolicy
] = value; }
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheEntryFormatter.cs (1)
424
HeaderNames.
ContentSecurityPolicy
,
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\Http\HttpHeaders.Generated.cs (9)
311
HeaderNames.
ContentSecurityPolicy
,
2078
if (!TryGetUnknown(HeaderNames.
ContentSecurityPolicy
, ref value))
2087
SetValueUnknown(HeaderNames.
ContentSecurityPolicy
, value);
10088
if (!TryGetUnknown(HeaderNames.
ContentSecurityPolicy
, ref value))
10097
ValidateHeaderValueCharacters(HeaderNames.
ContentSecurityPolicy
, value, EncodingSelector);
10098
SetValueUnknown(HeaderNames.
ContentSecurityPolicy
, value);
16091
if (!TryGetUnknown(HeaderNames.
ContentSecurityPolicy
, ref value))
16100
ValidateHeaderValueCharacters(HeaderNames.
ContentSecurityPolicy
, value, EncodingSelector);
16101
SetValueUnknown(HeaderNames.
ContentSecurityPolicy
, value);