Exemple #1
0
 public virtual Apache.Http.Client.Methods.RequestBuilder RemoveHeaders(string name
                                                                        )
 {
     if (name == null || headergroup == null)
     {
         return(this);
     }
     for (HeaderIterator i = headergroup.Iterator(); i.HasNext();)
     {
         Header header = i.NextHeader();
         if (Sharpen.Runtime.EqualsIgnoreCase(name, header.GetName()))
         {
             i.Remove();
         }
     }
     return(this);
 }