13 references to PreflightHttpMethod
Microsoft.AspNetCore.Cors.Test (4)
CorsMiddlewareTests.cs (4)
196.SendAsync(CorsConstants.PreflightHttpMethod); 262.SendAsync(CorsConstants.PreflightHttpMethod); 324.SendAsync(CorsConstants.PreflightHttpMethod); 483.SendAsync(CorsConstants.PreflightHttpMethod);
Microsoft.AspNetCore.Mvc.Cors (1)
DisableCorsAuthorizationFilter.cs (1)
30CorsConstants.PreflightHttpMethod,
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsAuthorizationFilterTest.cs (1)
148var method = isPreflight ? CorsConstants.PreflightHttpMethod : "GET";
Microsoft.AspNetCore.Mvc.FunctionalTests (7)
CorsTestsBase.cs (7)
118new HttpMethod(CorsConstants.PreflightHttpMethod), 187new HttpMethod(CorsConstants.PreflightHttpMethod), 272new HttpMethod(CorsConstants.PreflightHttpMethod), 298var request = new HttpRequestMessage(new HttpMethod(CorsConstants.PreflightHttpMethod), url); 330var request = new HttpRequestMessage(new HttpMethod(CorsConstants.PreflightHttpMethod), url); 368new HttpMethod(CorsConstants.PreflightHttpMethod), 393new HttpMethod(CorsConstants.PreflightHttpMethod),