9 references to WithHeaders
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsPolicyBuilder.cs (1)
248WithHeaders(policy.Headers.ToArray());
Microsoft.AspNetCore.Cors.Test (8)
CorsMiddlewareTests.cs (7)
77.WithHeaders("Header1") 305.WithHeaders("Header1") 348.WithHeaders("Header1") 460.WithHeaders("Header1") 521.WithHeaders("Header1") 596.WithHeaders("Header1") 646.WithHeaders("AllowedHeader")
CorsPolicyBuilderTests.cs (1)
254builder.WithHeaders("example1", "example2");