Property
HttpHeaderCollection.ContentType
ContentType #
Gets or sets the value of the HTTP Content-Type header.
Indicates the media type of the resource, allowing the client to understand how to process the response body.
public string? ContentType { get; set; }Property Value #
Remarks #
Note: setting the value of this header, the value present in the response’s HttpContent will be overwritten.