3 writes to Location
Microsoft.AspNetCore.Mvc.Core (3)
AcceptedResult.cs (3)
36
Location
= location;
53
Location
= locationUri.AbsoluteUri;
57
Location
= locationUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
6 references to Location
Microsoft.AspNetCore.Mvc.Core (2)
AcceptedResult.cs (2)
75
if (!string.IsNullOrEmpty(
Location
))
77
context.HttpContext.Response.Headers.Location =
Location
;
Microsoft.AspNetCore.Mvc.Core.Test (3)
ControllerBaseTest.cs (3)
1526
Assert.Same(uri, result.
Location
);
1542
Assert.Equal(uri.OriginalString, result.
Location
);
1558
Assert.Equal(uri.OriginalString, result.
Location
);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ControllerUnitTestabilityTests.cs (1)
117
Assert.Equal(uri, acceptedResult.
Location
);