@ -826,6 +826,22 @@ namespace WebSocketSharp.Net
}
private static bool isValidForContentType (string value)
{
foreach (var c in value) {
if (c < 0x20)
return false;
if (c > 0x7e)
if ("()<>@:\\[]?{}".IndexOf (c) > -1)
return true;
#endregion
#region Public Methods