diff --git a/websocket-sharp/Net/WebHeaderCollection.cs b/websocket-sharp/Net/WebHeaderCollection.cs index 71a5b7b8..2610490b 100644 --- a/websocket-sharp/Net/WebHeaderCollection.cs +++ b/websocket-sharp/Net/WebHeaderCollection.cs @@ -846,7 +846,7 @@ namespace WebSocketSharp.Net var res = headerType == HttpHeaderType.Response; if (isRestricted (name, res)) { - var msg = "This header must be modified with the appropiate property."; + var msg = "The header is a restricted header."; throw new ArgumentException (msg); }