internal void SetInternal(string name, string value, bool response)
 {
     value = WebHeaderCollection.CheckValue(value);
     if (WebHeaderCollection.IsMultiValue(name, response))
     {
         base.Add(name, value);
     }
     else
     {
         base.Set(name, value);
     }
 }
 private void DoWithoutCheckingName(Action <string, string> act, string name, string value)
 {
     this.CheckRestricted(name);
     act(name, WebHeaderCollection.CheckValue(value));
 }
 private void AddWithoutCheckingNameAndRestricted(string name, string value)
 {
     base.Add(name, WebHeaderCollection.CheckValue(value));
 }