Skip to content

Commit d628ff1

Browse files
committed
Fix comment
1 parent 3b03ca6 commit d628ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Routing/src/Matching/HttpMethodMatcherPolicy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ public override int GetDestination(HttpContext httpContext)
484484
static bool CompareMethod(string requestMethod, string endpointMethod)
485485
{
486486
// Known methods (GET, POST, PUT, etc) will match by reference.
487-
// Custom methods fallback to ordinal case compare.
487+
// Custom methods fallback to ignore case compare.
488488
return ReferenceEquals(requestMethod, endpointMethod) || StringComparer.OrdinalIgnoreCase.Equals(requestMethod, endpointMethod);
489489
}
490490
}

0 commit comments

Comments
 (0)