[Modify] Replace it
This commit is contained in:
parent
fff361108d
commit
3c1b3f6ced
@ -953,7 +953,16 @@ namespace WebSocketSharp.Net
|
|||||||
? header.Substring (idx + 1)
|
? header.Substring (idx + 1)
|
||||||
: String.Empty;
|
: String.Empty;
|
||||||
|
|
||||||
InternalSet (name, val, response);
|
name = checkName (name, "header");
|
||||||
|
val = checkValue (val, "header");
|
||||||
|
|
||||||
|
if (isMultiValue (name, response)) {
|
||||||
|
base.Add (name, val);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
base.Set (name, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void InternalSet (string name, string value, bool response)
|
internal void InternalSet (string name, string value, bool response)
|
||||||
|
Loading…
Reference in New Issue
Block a user