Mono Class Library: System.Net.HttpWebRequest Overview | MembersSystem.Net.HttpWebRequest.TransferEncoding Property |
Gets or sets the value of the HTTP Transfer-encoding header. [Edit]
|
A string that contains the value of the HTTP Transfer-encoding header. The default value is null. [Edit]
Type Reason InvalidOperationException HttpWebRequest.TransferEncoding is set when HttpWebRequest.SendChunked is false. [Edit] ArgumentException HttpWebRequest.TransferEncoding is set to the value "Chunked". This value is case insensitive. [Edit]
This property can be set in the current instance only if the HttpWebRequest.SendChunked property in the current instance is true.
Note:[Edit]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.
For additional information see section 14.41 of IETF RFC 2616 - HTTP/1.1.
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0