Skip to content

Commit 7c39886

Browse files
authored
Middleware/Rewrite: Update XML comments for "AddRedirect" to indicate status code. (#57224)
1 parent 63c492e commit 7c39886

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Middleware/Rewrite/src/RewriteOptionsExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ public static RewriteOptions AddRewrite(this RewriteOptions options, [StringSynt
5050
}
5151

5252
/// <summary>
53-
/// Redirect the request if the regex matches the HttpContext's PathString
53+
/// Redirect the request if the regex matches the HttpContext's PathString, with returning a 302
54+
/// status code for found.
5455
/// </summary>
5556
/// <param name="options">The <see cref="RewriteOptions"/>.</param>
5657
/// <param name="regex">The regex string to compare with.</param>

0 commit comments

Comments
 (0)