31 references to GetHttpContext
Microsoft.AspNetCore.Cors.Test (31)
CorsServiceTests.cs (31)
18var requestContext = GetHttpContext("POST", origin: null);
37var requestContext = GetHttpContext("GET", origin: null);
52var requestContext = GetHttpContext(origin: "http://example.com");
68var requestContext = GetHttpContext(origin: "http://example.com");
83var requestContext = GetHttpContext(origin: "http://example.com");
102var requestContext = GetHttpContext(origin: "http://example.com");
123var requestContext = GetHttpContext(origin: "http://example.com");
139var requestContext = GetHttpContext(origin: "http://example.com");
158var requestContext = GetHttpContext(origin: "http://example.com");
177var requestContext = GetHttpContext(origin: "http://example.com");
194var requestContext = GetHttpContext(origin: "http://example.com");
211var requestContext = GetHttpContext(origin: "http://example.com");
229var requestContext = GetHttpContext(origin: "http://example.com");
246var requestContext = GetHttpContext(origin: "http://example.com");
262var requestContext = GetHttpContext(origin: "http://example.com");
279var requestContext = GetHttpContext(origin: "http://example.com");
298var requestContext = GetHttpContext(method: "OPTIONS", origin: "http://example.com", accessControlRequestMethod: "PUT");
315var requestContext = GetHttpContext(method: "OPTIONS", origin: "http://example.com", accessControlRequestMethod: "PUT");
335var requestContext = GetHttpContext(
356var requestContext = GetHttpContext(
378var requestContext = GetHttpContext(method: "OPTIONS", origin: "http://example.com", accessControlRequestMethod: "PUT");
398var requestContext = GetHttpContext(method: "OPTIONS", origin: "http://example.com", accessControlRequestMethod: "PUT");
418var requestContext = GetHttpContext(method: "OPTIONS", origin: "http://example.com", accessControlRequestMethod: "PUT");
438var requestContext = GetHttpContext(method: "OPTIONS", origin: "http://example.com", accessControlRequestMethod: "GET");
457var requestContext = GetHttpContext(
478var requestContext = GetHttpContext(method: "OPTIONS", origin: "http://example.com", accessControlRequestMethod: "PUT");
497var requestContext = GetHttpContext(
520var requestContext = GetHttpContext(
544var httpContext = GetHttpContext(method: "OPTIONS", origin: "http://example.com", accessControlRequestMethod: "PUT");
907var requestContext = GetHttpContext(origin: "http://example.com");
925var requestContext = GetHttpContext(origin: "http://example.com");