var uri = URL_BASE + myuri
string.Format("providers/{0}/items?feed={1}&id={2}&type=cf", provider, feed, zipFileNoPath);
var webClient = new WebClient();
webClient.Credentials = new NetworkCredential(email, password);
webClient.Headers.Add("Accept", "*/*");
webClient.Headers.Add("Content-Type", "application/octet-stream");
webClient.UploadFileAsync(new Uri(uri), "POST", zipFile);
对于上面的代码,当我从提琴手观看时,我在标题中看到了两个“Content-Type”,一个是 Content-Type: multipart/form-data; 边界=---------------------8cf27396e080e0a,另一个是Content-Type: application/octet-stream 为什么会这样?那谁生效呢,谢谢