[Modify] Replace it

This commit is contained in:
sta 2020-04-16 19:46:50 +09:00
parent 4cf3a1419a
commit 35810079e7

View File

@ -1635,7 +1635,10 @@ namespace WebSocketSharp.Net
/// </exception>
public void Set (HttpResponseHeader header, string value)
{
doWithCheckingState (setWithoutCheckingName, Convert (header), value, true, true);
var key = header.ToString ();
var name = getHeaderName (key);
doWithCheckingState (setWithoutCheckingName, name, value, true, true);
}
/// <summary>