internal void InternalSet(string name, string value, bool response) { value = WebHeaderCollection.checkValue(value); if (!WebHeaderCollection.IsMultiValue(name, response)) { base.Set(name, value); } else { base.Add(name, value); } }
private void doWithoutCheckingName(Action <string, string> action, string name, string value) { this.checkRestricted(name); action(name, WebHeaderCollection.checkValue(value)); }
private void addWithoutCheckingNameAndRestricted(string name, string value) { base.Add(name, WebHeaderCollection.checkValue(value)); }