3 writes to Location
Microsoft.AspNetCore.Http.Results (3)
Accepted.cs (3)
26Location = location; 38Location = locationUri.AbsoluteUri; 42Location = locationUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
7 references to Location
Microsoft.AspNetCore.Http.Results (2)
Accepted.cs (2)
67if (!string.IsNullOrEmpty(Location)) 69httpContext.Response.Headers.Location = Location;
Microsoft.AspNetCore.Http.Results.Tests (5)
ResultsTests.cs (2)
66Assert.Equal(uri, result.Location); 77Assert.Null(result.Location);
TypedResultsTests.cs (3)
49Assert.Equal(uri, result.Location); 63Assert.Equal(uri, result.Location); 93Assert.Equal(uri.ToString(), result.Location);