[Modify] Replace it
This commit is contained in:
parent
6287ab1694
commit
72d3896b9f
@ -1146,7 +1146,13 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
protected void AddWithoutValidate (string headerName, string headerValue)
|
protected void AddWithoutValidate (string headerName, string headerValue)
|
||||||
{
|
{
|
||||||
add (headerName, headerValue, true);
|
headerName = checkName (headerName);
|
||||||
|
headerValue = checkValue (headerValue);
|
||||||
|
|
||||||
|
var headerType = getHeaderType (headerName);
|
||||||
|
|
||||||
|
checkAllowed (headerType);
|
||||||
|
add (headerName, headerValue, headerType);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
Loading…
Reference in New Issue
Block a user