A string that contains the value of the HTTP Transfer-encoding header. The default value is null.
Type Reason InvalidOperationException HttpWebRequest.TransferEncoding is set when HttpWebRequest.SendChunked is false. ArgumentException HttpWebRequest.TransferEncoding is set to the value "Chunked". This value is case insensitive.
Before you can set the HttpWebRequest.TransferEncoding property, you must first set the HttpWebRequest.SendChunked property to true. Clearing HttpWebRequest.TransferEncoding by setting it to null has no effect on the value of HttpWebRequest.SendChunked.
Values assigned to the HttpWebRequest.TransferEncoding property replace any existing contents.
The value for this property is stored in System.Net.WebHeaderCollection. If WebHeaderCollection is set, the property value is lost.