[Modify] Remove it

This commit is contained in:
sta 2020-05-06 22:03:00 +09:00
parent e3719401f3
commit 833cd688e4

View File

@ -782,19 +782,6 @@ namespace WebSocketSharp.Net
base.Add (name, checkValue (value)); base.Add (name, checkValue (value));
} }
private static int checkColonSeparated (string header)
{
var idx = header.IndexOf (':');
if (idx == -1) {
var msg = "No colon could be found.";
throw new ArgumentException (msg, "header");
}
return idx;
}
private static HttpHeaderType checkHeaderType (string name) private static HttpHeaderType checkHeaderType (string name)
{ {
var info = getHeaderInfo (name); var info = getHeaderInfo (name);