Skip to content

Commit 0843809

Browse files
committed
Add QUERY to known HTTP methods in HostingMetrics
1 parent 80d039c commit 0843809

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Hosting/Hosting/src/Internal/HostingMetrics.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ private static object GetBoxedStatusCode(int statusCode)
127127
KeyValuePair.Create(HttpMethods.Patch, HttpMethods.Patch),
128128
KeyValuePair.Create(HttpMethods.Post, HttpMethods.Post),
129129
KeyValuePair.Create(HttpMethods.Put, HttpMethods.Put),
130+
KeyValuePair.Create(HttpMethods.Query, HttpMethods.Query),
130131
KeyValuePair.Create(HttpMethods.Trace, HttpMethods.Trace)
131132
}, StringComparer.OrdinalIgnoreCase);
132133

0 commit comments

Comments
 (0)