Class HttpContentHeaders
Represents the collection of Content Headers as defined in RFC 2616.
public sealed class HttpContentHeaders : HttpHeaders
- Inheritance
-
HttpContentHeaders
- Inherited Members
- Extension Methods
Properties
ContentLength
Gets or sets the value of the Content-Length content header on an HTTP response.
public long ContentLength { get; set; }
Property Value
- long
The value of the Content-Length content header on an HTTP response.
Remarks
In .NET nanoFramework this property is read-only.
ContentType
Gets or sets the value of the Content-Type content header on an HTTP response.
public MediaTypeHeaderValue ContentType { get; set; }
Property Value
- MediaTypeHeaderValue
The value of the Content-Type content header on an HTTP response.