Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrennan <brecon@microsoft.com>2022-05-04 18:51:44 +0300
committerGitHub <noreply@github.com>2022-05-04 18:51:44 +0300
commit54b181e2046932a21fed92a10897eb21879d858d (patch)
tree27f2017ffded4e54f802c4eb586960a144a348c7
parenta7615cdafe571097e5709ef2d9fc5e4932a3c614 (diff)
Update src/Servers/HttpSys/src/RequestProcessing/RequestContext.csbrecon/upgrade10
Co-authored-by: Aditya Mandaleeka <adityamandaleeka@users.noreply.github.com>
-rw-r--r--src/Servers/HttpSys/src/RequestProcessing/RequestContext.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Servers/HttpSys/src/RequestProcessing/RequestContext.cs b/src/Servers/HttpSys/src/RequestProcessing/RequestContext.cs
index 26effa0ad1..48a5435c20 100644
--- a/src/Servers/HttpSys/src/RequestProcessing/RequestContext.cs
+++ b/src/Servers/HttpSys/src/RequestProcessing/RequestContext.cs
@@ -91,7 +91,7 @@ internal partial class RequestContext : NativeRequestContext, IThreadPoolWorkIte
{
throw new InvalidOperationException("Upgrade requires HTTP/1.1.");
}
- throw new InvalidOperationException("This request cannot be upgraded, because it has a body.");
+ throw new InvalidOperationException("This request cannot be upgraded because it has a body.");
}
if (Response.HasStarted)
{