[Modify] Replace it
This commit is contained in:
parent
1788f878b8
commit
dd8340b134
@ -1372,7 +1372,14 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public override void Add (string name, string value)
|
public override void Add (string name, string value)
|
||||||
{
|
{
|
||||||
add (name, value, false);
|
name = checkName (name);
|
||||||
|
value = checkValue (value);
|
||||||
|
|
||||||
|
var headerType = getHeaderType (name);
|
||||||
|
|
||||||
|
checkRestricted (name, headerType);
|
||||||
|
checkAllowed (headerType);
|
||||||
|
add (name, value, headerType);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user