public FaultyHttpContent(HttpContent httpContent, FaultyStream faultyStream) { this.innerContent = httpContent; foreach (var item in this.innerContent.Headers) { this.Headers.Add(item.Key, item.Value); } this.faultyStream = faultyStream; }
public FaultyHttpContent(HttpContent httpContent, FaultyStream faultyStream) { _innerContent = httpContent; foreach (System.Collections.Generic.KeyValuePair <string, System.Collections.Generic.IEnumerable <string> > item in _innerContent.Headers) { Headers.Add(item.Key, item.Value); } _faultyStream = faultyStream; }