Datasnap.DSHTTPCommon.TDSHTTPResponse.ContentType
Delphi
property ContentType: string read GetContentType write SetContentType;
C++
__property System::UnicodeString ContentType = {read=GetContentType, write=SetContentType};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Datasnap.DSHTTPCommon.pas Datasnap.DSHTTPCommon.hpp |
Datasnap.DSHTTPCommon | TDSHTTPResponse |
Description
Specifies the Content-Type header of the HTTP response.
The ContentType property specifies the media type of the HTTP response's content. ContentType is a string of the form Type/SubType (for example, text/html).