/// <summary> /// 清空请求头 /// </summary> /// <returns></returns> public bool ClearHeader() { if (httpHeader == null) { return(false); } httpHeader.Clear(); return(true); }
public void UpdateSoapActionHeader(HttpRequestHeaderCollection headers) { headers.Clear(); headers.Add("SOAPAction", SoapHeader); }