3 references to AddRedirectToNonWww
Microsoft.AspNetCore.Rewrite (2)
RewriteOptionsExtensions.cs (2)
191return AddRedirectToNonWww(options, statusCode: StatusCodes.Status308PermanentRedirect); 211return AddRedirectToNonWww(options, statusCode: StatusCodes.Status307TemporaryRedirect);
Microsoft.AspNetCore.Rewrite.Tests (1)
MiddlewareTests.cs (1)
538var options = new RewriteOptions().AddRedirectToNonWww(statusCode: statusCode);