diff --git a/websocket-sharp/Net/WebHeaderCollection.cs b/websocket-sharp/Net/WebHeaderCollection.cs index 464c5083..e7181f07 100644 --- a/websocket-sharp/Net/WebHeaderCollection.cs +++ b/websocket-sharp/Net/WebHeaderCollection.cs @@ -985,7 +985,7 @@ namespace WebSocketSharp.Net internal void InternalSet (string name, string value, bool response) { - value = checkValue (value); + value = checkValue (value, "value"); if (isMultiValue (name, response)) { base.Add (name, value);