Skip to content

Commit

Permalink
Update BenchmarkApp.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianEdwards committed Jan 16, 2025
1 parent 3f7dec5 commit f6fc284
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/BenchmarksApps/TechEmpower/Kestrel/BenchmarkApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public Task ProcessRequestAsync(IFeatureCollection features)
if (req.Method != "GET")
{
res.StatusCode = StatusCodes.Status405MethodNotAllowed;
return Task.CompletedTask;
}

return req.Path switch
Expand Down

0 comments on commit f6fc284

Please sign in to comment.