262 references to Location
Aspire.Dashboard.Tests (7)
Integration\FrontendOpenIdConnectAuthTests.cs (1)
45
var redirectedTo = response.Headers.
Location
;
Middleware\ValidateTokenMiddlewareTests.cs (6)
23
Assert.Equal("/", response.Headers.
Location
?.OriginalString);
31
Assert.Equal("/test", response.Headers.
Location
?.OriginalString);
39
Assert.Equal("/login", response.Headers.
Location
?.OriginalString);
47
Assert.Equal("/login?returnUrl=%2ftest", response.Headers.
Location
?.OriginalString);
55
Assert.Equal("/", response.Headers.
Location
?.OriginalString);
63
Assert.Equal("/test", response.Headers.
Location
?.OriginalString);
AuthSamples.FunctionalTests (4)
ClaimsTransformTests.cs (1)
41
Assert.Equal("http://localhost/account/login?ReturnUrl=%2FHome%2FMyClaims", response.Headers.
Location
.ToString());
IdentityExternalClaimsTests.cs (1)
41
Assert.Equal("http://localhost/Account/Login?ReturnUrl=%2FMyClaims", response.Headers.
Location
.ToString());
StaticFilesAuthTests.cs (1)
39
Assert.Equal("http://localhost/Account/Login?ReturnUrl=%2F" + scenario, response.Headers.
Location
.ToString());
TestAssert.cs (1)
70
return responseMessage.Headers.
Location
;
Microsoft.AspNetCore.Authentication.Test (151)
CookieTests.cs (12)
101
var location = transaction.Response.Headers.
Location
;
1179
var location = transaction.Response.Headers.
Location
;
1193
var location = transaction.Response.Headers.
Location
;
1254
var location = transaction.Response.Headers.
Location
;
1391
var location = transaction.Response.Headers.
Location
;
1439
var location = transaction.Response.Headers.
Location
;
1463
var location = transaction.Response.Headers.
Location
;
1488
var location = transaction.Response.Headers.
Location
;
1516
Assert.Equal(redirectUrl, transaction.Response.Headers.
Location
.ToString());
1561
Assert.Equal("/ret_path_2", transaction.Response.Headers.
Location
.ToString());
1607
Assert.Equal("/redirect_test", transaction.Response.Headers.
Location
.ToString());
1630
var location = transaction.Response.Headers.
Location
;
FacebookTests.cs (8)
111
var query = transaction.Response.Headers.
Location
.Query;
142
Assert.Contains("scope=foo,bar", res.Headers.
Location
.Query);
174
Assert.Contains("scope=baz,qux", res.Headers.
Location
.Query);
206
Assert.Contains("scope=baz,qux", res.Headers.
Location
.Query);
232
var location = transaction.Response.Headers.
Location
.AbsoluteUri;
265
var location = transaction.Response.Headers.
Location
.AbsoluteUri;
300
var location = transaction.Response.Headers.
Location
.AbsoluteUri;
435
var locationUri = transaction.Response.Headers.
Location
;
GoogleTests.cs (8)
56
var location = transaction.Response.Headers.
Location
;
152
var query = transaction.Response.Headers.
Location
.Query;
190
var query = QueryHelpers.ParseQuery(transaction.Response.Headers.
Location
.Query);
242
var query = QueryHelpers.ParseQuery(transaction.Response.Headers.
Location
.Query);
298
var query = QueryHelpers.ParseQuery(transaction.Response.Headers.
Location
.Query);
335
var query = transaction.Response.Headers.
Location
.Query;
1016
Assert.StartsWith("https://www.facebook.com/", transaction.Response.Headers.
Location
.OriginalString);
1068
var locationUri = transaction.Response.Headers.
Location
;
MicrosoftAccountTests.cs (7)
66
var query = transaction.Response.Headers.
Location
.Query;
120
var location = transaction.Response.Headers.
Location
.AbsoluteUri;
146
Assert.Contains("scope=foo%20bar", res.Headers.
Location
.Query);
164
Assert.Contains("scope=baz%20qux", res.Headers.
Location
.Query);
182
Assert.Contains("scope=baz%20qux", res.Headers.
Location
.Query);
270
var query = QueryHelpers.ParseQuery(transaction.Response.Headers.
Location
.Query);
335
var locationUri = transaction.Response.Headers.
Location
;
OAuthTests.cs (10)
135
Assert.NotNull(res.Headers.
Location
);
163
Assert.NotNull(res.Headers.
Location
);
193
Assert.Contains("scope=foo%20bar", res.Headers.
Location
.Query);
219
Assert.Contains("prompt=login&audience=https%3A%2F%2Fapi.example.com", res.Headers.
Location
.Query);
248
Assert.Contains("scope=baz%20qux", res.Headers.
Location
.Query);
277
Assert.Contains("scope=baz%20qux", res.Headers.
Location
.Query);
314
Assert.Equal("https://www.example.com/access-denied?ReturnUrl=http%3A%2F%2Ftesthost%2Fredirect", transaction.Response.Headers.
Location
.ToString());
349
Assert.Null(transaction.Response.Headers.
Location
);
385
Assert.Null(transaction.Response.Headers.
Location
);
421
Assert.Null(transaction.Response.Headers.
Location
);
OpenIdConnect\OpenIdConnectChallengeTests.cs (56)
37
Assert.NotNull(res.Headers.
Location
);
40
res.Headers.
Location
,
70
Assert.NotNull(res.Headers.
Location
);
74
Assert.Contains("code_challenge=", res.Headers.
Location
.Query);
75
Assert.Contains("code_challenge_method=S256", res.Headers.
Location
.Query);
79
Assert.DoesNotContain("code_challenge=", res.Headers.
Location
.Query);
80
Assert.DoesNotContain("code_challenge_method=", res.Headers.
Location
.Query);
105
Assert.NotNull(res.Headers.
Location
);
107
Assert.DoesNotContain("code_challenge=", res.Headers.
Location
.Query);
108
Assert.DoesNotContain("code_challenge_method=", res.Headers.
Location
.Query);
126
Assert.DoesNotContain(OpenIdConnectParameterNames.SkuTelemetry, res.Headers.
Location
.Query);
127
Assert.DoesNotContain(OpenIdConnectParameterNames.VersionTelemetry, res.Headers.
Location
.Query);
198
Assert.NotNull(res.Headers.
Location
);
200
var values = settings.ValidateChallengeRedirect(res.Headers.
Location
);
233
Assert.NotNull(res.Headers.
Location
);
235
var values = settings.ValidateChallengeRedirect(res.Headers.
Location
);
276
Assert.NotNull(res.Headers.
Location
);
279
res.Headers.
Location
,
313
Assert.NotNull(res.Headers.
Location
);
316
res.Headers.
Location
,
322
var actual = res.Headers.
Location
.Query.Trim('?').Split('&').Single(seg => seg.StartsWith($"{OpenIdConnectParameterNames.ClientId}=", StringComparison.Ordinal));
357
Assert.NotNull(res.Headers.
Location
);
361
Assert.Equal(newMessage.TestAuthorizeEndpoint, res.Headers.
Location
.AbsoluteUri);
392
Assert.Null(res.Headers.
Location
);
421
Assert.Null(res.Headers.
Location
);
491
res.Headers.
Location
,
513
res.Headers.
Location
,
533
settings.ValidateChallengeRedirect(res.Headers.
Location
, OpenIdConnectParameterNames.Prompt);
534
Assert.Contains("prompt=consent", res.Headers.
Location
.Query);
557
settings.ValidateChallengeRedirect(res.Headers.
Location
);
558
Assert.Contains("prompt=login", res.Headers.
Location
.Query);
579
settings.ValidateChallengeRedirect(res.Headers.
Location
);
580
Assert.Contains("prompt=login", res.Headers.
Location
.Query);
603
settings.ValidateChallengeRedirect(res.Headers.
Location
);
604
Assert.Contains("scope=baz%20qux", res.Headers.
Location
.Query);
627
settings.ValidateChallengeRedirect(res.Headers.
Location
);
628
Assert.Contains("scope=baz%20qux", res.Headers.
Location
.Query);
651
settings.ValidateChallengeRedirect(res.Headers.
Location
);
652
Assert.Contains("max_age=1234", res.Headers.
Location
.Query);
673
settings.ValidateChallengeRedirect(res.Headers.
Location
);
674
Assert.Contains("max_age=1234", res.Headers.
Location
.Query);
694
settings.ValidateChallengeRedirect(res.Headers.
Location
);
695
Assert.Contains("prompt=login&audience=https%3A%2F%2Fapi.example.com", res.Headers.
Location
.Query);
723
Assert.Contains("request_uri=my_reference_value", res.Headers.
Location
.Query);
724
Assert.Contains("client_id=Test%20Id", res.Headers.
Location
.Query);
727
Assert.DoesNotContain("redirect_uri", res.Headers.
Location
.Query);
728
Assert.DoesNotContain("scope", res.Headers.
Location
.Query);
729
Assert.DoesNotContain("client_secret", res.Headers.
Location
.Query);
813
Assert.DoesNotContain("request_uri=my_reference_value", res.Headers.
Location
.Query);
817
Assert.Contains("redirect_uri", res.Headers.
Location
.Query);
818
Assert.Contains("scope", res.Headers.
Location
.Query);
851
Assert.Contains("request_uri=request_uri_from_event", res.Headers.
Location
.Query);
886
Assert.DoesNotContain("scope", res.Headers.
Location
.Query);
917
Assert.Contains("request_uri=my_reference_value", res.Headers.
Location
.Query);
918
Assert.Contains("client_id=Test%20Id", res.Headers.
Location
.Query);
921
Assert.DoesNotContain("prompt", res.Headers.
Location
.Query);
OpenIdConnect\OpenIdConnectEventTests.cs (5)
970
Assert.Equal("http://testhost/end", response.Headers.
Location
.GetLeftPart(UriPartial.Path));
997
Assert.Null(response.Headers.
Location
);
1083
Assert.Equal("http://testhost/redirect", response.Headers.
Location
.AbsoluteUri);
1106
Assert.Null(response.Headers.
Location
);
1133
Assert.Null(response.Headers.
Location
);
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (5)
970
Assert.Equal("http://testhost/end", response.Headers.
Location
.GetLeftPart(UriPartial.Path));
997
Assert.Null(response.Headers.
Location
);
1083
Assert.Equal("http://testhost/redirect", response.Headers.
Location
.AbsoluteUri);
1106
Assert.Null(response.Headers.
Location
);
1133
Assert.Null(response.Headers.
Location
);
OpenIdConnect\OpenIdConnectTests.cs (12)
51
Assert.NotNull(res.Headers.
Location
);
54
transaction.Response.Headers.
Location
,
78
Assert.NotNull(res.Headers.
Location
);
105
Assert.NotNull(res.Headers.
Location
);
131
Assert.NotNull(res.Headers.
Location
);
158
Assert.NotNull(res.Headers.
Location
);
183
Assert.DoesNotContain(OpenIdConnectParameterNames.SkuTelemetry, res.Headers.
Location
.Query);
184
Assert.DoesNotContain(OpenIdConnectParameterNames.VersionTelemetry, res.Headers.
Location
.Query);
185
setting.ValidateSignoutRedirect(transaction.Response.Headers.
Location
);
220
settings.ValidateSignoutRedirect(transaction.Response.Headers.
Location
,
242
var query = transaction.Response.Headers.
Location
.Query.Substring(1).Split('&')
273
var query = transaction.Response.Headers.
Location
.Query.Substring(1).Split('&')
TwitterTests.cs (6)
72
var query = transaction.Response.Headers.
Location
.Query;
182
var location = transaction.Response.Headers.
Location
.AbsoluteUri;
210
var location = transaction.Response.Headers.
Location
.AbsoluteUri;
224
Assert.Equal("http://localhost/access-denied?ReturnUrl=%2Fchallenge", response.Headers.
Location
.ToString());
260
var location = transaction.Response.Headers.
Location
.AbsoluteUri;
367
var location = transaction.Response.Headers.
Location
.AbsoluteUri;
WsFederation\WsFederationTest.cs (11)
76
Assert.Equal("https://login.windows.net/4afbc689-805b-48cf-a24c-d4aa3248a248/wsfed", response.Headers.
Location
.GetLeftPart(System.UriPartial.Path));
77
var queryItems = QueryHelpers.ParseQuery(response.Headers.
Location
.Query);
92
Assert.Equal("https://login.windows.net/4afbc689-805b-48cf-a24c-d4aa3248a248/wsfed", response.Headers.
Location
.GetLeftPart(System.UriPartial.Path));
93
var queryItems = QueryHelpers.ParseQuery(response.Headers.
Location
.Query);
108
Assert.Equal("https://login.windows.net/4afbc689-805b-48cf-a24c-d4aa3248a248/wsfed", response.Headers.
Location
.GetLeftPart(System.UriPartial.Path));
109
var queryItems = QueryHelpers.ParseQuery(response.Headers.
Location
.Query);
124
var queryItems = QueryHelpers.ParseQuery(response.Headers.
Location
.Query);
133
request = new HttpRequestMessage(HttpMethod.Get, response.Headers.
Location
);
160
var request = new HttpRequestMessage(HttpMethod.Get, response.Headers.
Location
);
175
var queryItems = QueryHelpers.ParseQuery(response.Headers.
Location
.Query);
234
Assert.Contains("CustomKey=CustomValue", result.Headers.
Location
.Query);
WsFederation\WsFederationTest_Handler.cs (11)
74
Assert.Equal("https://login.windows.net/4afbc689-805b-48cf-a24c-d4aa3248a248/wsfed", response.Headers.
Location
.GetLeftPart(System.UriPartial.Path));
75
var queryItems = QueryHelpers.ParseQuery(response.Headers.
Location
.Query);
90
Assert.Equal("https://login.windows.net/4afbc689-805b-48cf-a24c-d4aa3248a248/wsfed", response.Headers.
Location
.GetLeftPart(System.UriPartial.Path));
91
var queryItems = QueryHelpers.ParseQuery(response.Headers.
Location
.Query);
106
Assert.Equal("https://login.windows.net/4afbc689-805b-48cf-a24c-d4aa3248a248/wsfed", response.Headers.
Location
.GetLeftPart(System.UriPartial.Path));
107
var queryItems = QueryHelpers.ParseQuery(response.Headers.
Location
.Query);
122
var queryItems = QueryHelpers.ParseQuery(response.Headers.
Location
.Query);
131
request = new HttpRequestMessage(HttpMethod.Get, response.Headers.
Location
);
158
var request = new HttpRequestMessage(HttpMethod.Get, response.Headers.
Location
);
173
var queryItems = QueryHelpers.ParseQuery(response.Headers.
Location
.Query);
232
Assert.Contains("CustomKey=CustomValue", result.Headers.
Location
.Query);
Microsoft.AspNetCore.HttpsPolicy.Tests (7)
HttpsPolicyTests.cs (2)
70
Assert.Equal(expectedUrl, response.Headers.
Location
.ToString());
73
client.BaseAddress = new Uri(response.Headers.
Location
.ToString());
HttpsRedirectionMiddlewareTests.cs (5)
111
Assert.Equal(expected, response.Headers.
Location
.ToString());
167
Assert.Equal(expectedUrl, response.Headers.
Location
.ToString());
228
Assert.Equal(expectedUrl, response.Headers.
Location
.ToString());
268
Assert.Equal("https://localhost:5050/", response.Headers.
Location
.ToString());
356
Assert.Equal("https://localhost:5050/", response.Headers.
Location
.ToString());
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Extensions\ResponseAssert.cs (1)
18
return responseMessage.Headers.
Location
;
Microsoft.AspNetCore.Mvc.FunctionalTests (53)
AntiforgeryAuthTests.cs (2)
39
Assert.Equal("/Home/Login", response.Headers.
Location
.AbsolutePath, StringComparer.OrdinalIgnoreCase);
51
Assert.Equal("/Home/Login", response.Headers.
Location
.AbsolutePath, StringComparer.OrdinalIgnoreCase);
AntiforgeryTests.cs (1)
210
Assert.Equal("http://example.com/antiforgery-redirect", response.Headers.
Location
.AbsoluteUri);
ApplicationModelTest.cs (1)
175
Assert.Equal("/Home/CannotBeRouted", response.Headers.
Location
.ToString());
AuthMiddlewareAndFilterTestBase.cs (2)
268
Assert.Equal("/Account/Login", response.Headers.
Location
.LocalPath);
274
Assert.Equal("/Account/AccessDenied", response.Headers.
Location
.LocalPath);
AuthMiddlewareUsingRequireAuthTest.cs (1)
76
Assert.Equal("/Home/Login", response.Headers.
Location
.LocalPath);
BasicTests.cs (4)
194
Assert.NotNull(response.Headers.
Location
);
195
Assert.Equal("https://localhost/Home/HttpsOnlyAction", response.Headers.
Location
.ToString());
408
Assert.NotNull(response.Headers.
Location
);
409
Assert.Equal("/Home/Product", response.Headers.
Location
.ToString());
ComponentRenderingFunctionalTests.cs (1)
76
Assert.Equal("http://localhost/navigation-redirect", response.Headers.
Location
.ToString());
GlobalAuthorizationFilterTestBase.cs (3)
42
Assert.NotNull(response.Headers.
Location
);
45
response.Headers.
Location
.ToString());
80
Assert.Null(response.Headers.
Location
);
LinkGenerationTests.cs (1)
69
response.Headers.
Location
);
RazorPagesTest.cs (18)
508
request = new HttpRequestMessage(HttpMethod.Get, response.Headers.
Location
);
533
request = new HttpRequestMessage(HttpMethod.Get, response.Headers.
Location
);
558
request = new HttpRequestMessage(HttpMethod.Get, response.Headers.
Location
);
618
Assert.Equal("/Login?ReturnUrl=%2FHelloWorldWithAuth", response.Headers.
Location
.PathAndQuery);
961
Assert.Equal(expected, response.Headers.
Location
.ToString());
975
Assert.Equal(expected, response.Headers.
Location
.ToString());
997
Assert.Equal(expected, response.Headers.
Location
.ToString());
1011
Assert.Equal(expected, response.Headers.
Location
.ToString());
1025
Assert.Equal(expected, response.Headers.
Location
.ToString());
1039
Assert.Equal(expected, response.Headers.
Location
.ToString());
1053
Assert.Equal(expected, response.Headers.
Location
.ToString());
1065
Assert.Equal(expected, response.Headers.
Location
.ToString());
1077
Assert.Equal(expected, response.Headers.
Location
.ToString());
1089
Assert.Equal(expected, response.Headers.
Location
.ToString());
1103
Assert.Equal(expected, response.Headers.
Location
.ToString());
1115
Assert.Equal(expected, response.Headers.
Location
.ToString());
1214
Assert.Equal("/Login?ReturnUrl=%2FPages%2FModelWithAuthFilter", response.Headers.
Location
.PathAndQuery);
1225
Assert.Equal("/Login?ReturnUrl=%2FPages%2FAdmin%2FEdit", response.Headers.
Location
.PathAndQuery);
RazorPagesWithBasePathTest.cs (8)
114
Assert.Equal("/Login?ReturnUrl=%2FConventions%2FAuth", response.Headers.
Location
.PathAndQuery);
125
Assert.Equal("/Login?ReturnUrl=%2FConventions%2FAuthFolder", response.Headers.
Location
.PathAndQuery);
260
Assert.Equal(expected, response.Headers.
Location
.ToString());
274
Assert.Equal(expected, response.Headers.
Location
.ToString());
393
Assert.Equal("/Login?ReturnUrl=%2FAccounts%2FRequiresAuth", response.Headers.
Location
.PathAndQuery);
478
Assert.Equal("/", response.Headers.
Location
.ToString());
727
Assert.Equal("/Login?ReturnUrl=%2FFilters%2FAuthFilterOnPage", response.Headers.
Location
.PathAndQuery);
738
Assert.Equal("/Login?ReturnUrl=%2FFilters%2FAuthFilterOnPageWithModel", response.Headers.
Location
.PathAndQuery);
RazorPagesWithEndpointRoutingTest.cs (3)
38
Assert.Equal("/Login?ReturnUrl=%2FConventions%2FAuthFolder", response.Headers.
Location
.PathAndQuery);
62
Assert.Equal("/Login?ReturnUrl=%2FModelWithAuthFilter", response.Headers.
Location
.PathAndQuery);
73
Assert.Equal("/Login?ReturnUrl=%2FAuthorizedAction%2FIndex", response.Headers.
Location
.PathAndQuery);
SimpleWithWebApplicationBuilderTests.cs (2)
93
Assert.Equal("/ok-object", response.Headers.
Location
.ToString());
120
Assert.Equal("/json", response.Headers.
Location
.ToString());
TempDataInCookiesTest.cs (1)
145
response = await Client.SendAsync(GetRequest(redirectResponse.Headers.
Location
.ToString(), response));
TempDataPropertyTest.cs (2)
51
var response = await Client.SendAsync(GetRequest(redirectResponse.Headers.
Location
.ToString(), redirectResponse));
79
var response = await Client.SendAsync(GetRequest(redirectResponse.Headers.
Location
.ToString(), redirectResponse));
TempDataTestBase.cs (2)
108
response = await Client.SendAsync(GetRequest(redirectResponse.Headers.
Location
.ToString(), response));
173
var response = await Client.SendAsync(GetRequest(redirectResponse.Headers.
Location
.ToString(), redirectResponse));
TestingInfrastructureTests.cs (1)
123
Assert.Equal("/Testing/Builder", response.Headers.
Location
?.OriginalString);
Microsoft.AspNetCore.Mvc.Testing (1)
Handlers\RedirectHandler.cs (1)
139
var location = response.Headers.
Location
;
Microsoft.AspNetCore.Rewrite.Tests (37)
ApacheModRewrite\ModRewriteMiddlewareTest.cs (4)
353
Assert.Equal(@"https://www.example.com/foo/", response.Headers.
Location
.AbsoluteUri);
381
Assert.Equal("/", response.Headers.
Location
.OriginalString);
435
Assert.Equal("/foo", response.Headers.
Location
.OriginalString);
464
Assert.Equal("http://localhost:80/home/report/123", response.Headers.
Location
.OriginalString);
IISUrlRewrite\MiddleWareTests.cs (10)
47
Assert.Equal("/article.aspx?id=10&title=hey", response.Headers.
Location
.OriginalString);
147
Assert.Equal("/hello", response.Headers.
Location
.OriginalString);
182
Assert.Equal("/hey/hello", response.Headers.
Location
.OriginalString);
217
Assert.Equal("/hey/hello/", response.Headers.
Location
.OriginalString);
251
Assert.Equal("https://example.com/", response.Headers.
Location
.OriginalString);
365
Assert.Equal("/", response.Headers.
Location
.OriginalString);
434
Assert.Equal("/foo", response.Headers.
Location
.OriginalString);
472
Assert.Equal("/hey/hello/", response.Headers.
Location
.OriginalString);
508
Assert.Equal("/blogposts/article/abc?p1=123&p2=abc", response.Headers.
Location
.OriginalString);
544
Assert.Equal("/blog/article/23/abc?p1=123&p2=abc", response.Headers.
Location
.OriginalString);
MiddlewareTests.cs (23)
174
Assert.Equal(expectedUrl, response.Headers.
Location
.OriginalString);
204
Assert.Equal("http://example.com/foo", response.Headers.
Location
.OriginalString);
228
Assert.Equal("http://example.com/foo?bar=1", response.Headers.
Location
.OriginalString);
256
Assert.Equal("https://example.com/", response.Headers.
Location
.OriginalString);
285
Assert.Equal($"https://example.com:{sslPort.GetValueOrDefault().ToString(CultureInfo.InvariantCulture)}/", response.Headers.
Location
.OriginalString);
289
Assert.Equal("https://example.com/", response.Headers.
Location
.OriginalString);
329
Assert.Equal("https://" + expectedHostPathAndQuery, response.Headers.
Location
.OriginalString);
359
Assert.Equal(redirectReplacement, response.Headers.
Location
.OriginalString);
383
Assert.Equal("https://example.com/", response.Headers.
Location
.OriginalString);
410
Assert.Equal(expected, response.Headers.
Location
.OriginalString);
439
Assert.Equal("https://www.example.com/", response.Headers.
Location
.OriginalString);
468
Assert.Equal(redirectUri, response.Headers.
Location
.OriginalString);
493
Assert.Equal("https://www.example.com/", response.Headers.
Location
.OriginalString);
528
Assert.Null(response.Headers.
Location
);
556
Assert.Equal("https://example.com/", response.Headers.
Location
.OriginalString);
585
Assert.Equal(redirectUri, response.Headers.
Location
.OriginalString);
610
Assert.Equal("https://example.com/", response.Headers.
Location
.OriginalString);
634
Assert.Equal("/", response.Headers.
Location
.OriginalString);
726
Assert.Equal("/foo", response.Headers.
Location
.OriginalString);
755
Assert.Null(response.Headers.
Location
);
783
Assert.Equal(redirectUri, response.Headers.
Location
.OriginalString);
808
Assert.Equal("https://www.example.com/", response.Headers.
Location
.OriginalString);
837
Assert.Equal("https://www.example.com/", response.Headers.
Location
.OriginalString);
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\RedirectHandler.cs (1)
107
Uri? location = response.Headers.
Location
;