Example #1
0
 public void RemoveHead(string key)
 {
     if (ContentHeads.ContainsKey(key))
     {
         ContentHeads.Remove(key);
     }
 }
Example #2
0
 public void AddHead(string key, string value)
 {
     if (!ContentHeads.ContainsKey(key))
     {
         ContentHeads.Add(key, value);
     }
     else
     {
         ContentHeads[key] = value;
     }
 }