[Modify] Replace it
This commit is contained in:
parent
72d3896b9f
commit
d42c7c711c
@ -1239,7 +1239,14 @@ namespace WebSocketSharp.Net
|
|||||||
? header.Substring (idx + 1)
|
? header.Substring (idx + 1)
|
||||||
: String.Empty;
|
: String.Empty;
|
||||||
|
|
||||||
add (name, val, false);
|
name = checkName (name);
|
||||||
|
val = checkValue (val);
|
||||||
|
|
||||||
|
var headerType = getHeaderType (name);
|
||||||
|
|
||||||
|
checkRestricted (name, headerType);
|
||||||
|
checkAllowed (headerType);
|
||||||
|
add (name, val, headerType);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user