Exemplo n.º 1
0
 private void AddHeadersToChangeSets(ref MultipartContent content)
 {
     using (var enumChangeSet = content.GetEnumerator())
     {
         while (enumChangeSet.MoveNext())
         {
             var currentChangeSet = enumChangeSet.Current;
             currentChangeSet.Headers.ContentType = new MediaTypeHeaderValue("application/http");
             currentChangeSet.Headers.Add("Content-Transfer-Encoding", "binary");
         }
     }
 }