[Modify] Polish it

This commit is contained in:
sta 2020-03-05 21:54:04 +09:00
parent 0bb7e462db
commit ca80835f27

View File

@ -939,7 +939,7 @@ namespace WebSocketSharp.Net
internal static bool IsHeaderName (string name)
{
return name != null && name.Length > 0 && name.IsToken ();
return name.IsToken ();
}
internal static bool IsHeaderValue (string value)