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