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