Fix error message in RequestContext

This commit is contained in:
Troy Dai 2016-09-01 12:00:06 -07:00
parent 735366ff3f
commit f05007e0f2
1 changed files with 1 additions and 1 deletions

View File

@ -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);