3 writes to Location
Microsoft.AspNetCore.Http.Results (3)
AcceptedOfT.cs (3)
28
Location
= location;
47
Location
= locationUri.AbsoluteUri;
51
Location
= locationUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
6 references to Location
Microsoft.AspNetCore.Http.Results (2)
AcceptedOfT.cs (2)
79
if (!string.IsNullOrEmpty(
Location
))
81
httpContext.Response.Headers.Location =
Location
;
Microsoft.AspNetCore.Http.Results.Tests (4)
ResultsTests.cs (2)
35
Assert.Equal(uri, result.
Location
);
51
Assert.Equal(uri, result.
Location
);
TypedResultsTests.cs (2)
34
Assert.Equal(uri, result.
Location
);
78
Assert.Equal(uri.ToString(), result.
Location
);