[Modify] Remove it
This commit is contained in:
parent
e3719401f3
commit
833cd688e4
@ -782,19 +782,6 @@ namespace WebSocketSharp.Net
|
||||
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)
|
||||
{
|
||||
var info = getHeaderInfo (name);
|
||||
|
Loading…
Reference in New Issue
Block a user