diff --git a/websocket-sharp/Net/WebHeaderCollection.cs b/websocket-sharp/Net/WebHeaderCollection.cs index 76c5f794..22af98e6 100644 --- a/websocket-sharp/Net/WebHeaderCollection.cs +++ b/websocket-sharp/Net/WebHeaderCollection.cs @@ -1815,7 +1815,7 @@ namespace WebSocketSharp.Net value = checkValue (value); checkRestricted (name, HttpHeaderType.Response); - checkAllowed (true); + checkAllowed (HttpHeaderType.Response); set (name, value, HttpHeaderType.Response); }