Fix error message in RequestContext
This commit is contained in:
parent
735366ff3f
commit
f05007e0f2
|
|
@ -247,7 +247,7 @@ namespace Microsoft.Net.Http.Server
|
||||||
{
|
{
|
||||||
if (!IsUpgradableRequest)
|
if (!IsUpgradableRequest)
|
||||||
{
|
{
|
||||||
throw new InvalidOperationException("This request is cannot be upgraded.");
|
throw new InvalidOperationException("This request cannot be upgraded.");
|
||||||
}
|
}
|
||||||
WebSocketHelpers.ValidateOptions(subProtocol, keepAliveInterval);
|
WebSocketHelpers.ValidateOptions(subProtocol, keepAliveInterval);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue