Datasnap.DSHTTPCommon.TDSHTTPResponse.ContentType

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

property ContentType: string read GetContentType write SetContentType;

C++

__property System::UnicodeString ContentType = {read=GetContentType, write=SetContentType};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
property public
Datasnap.DSHTTPCommon.pas
Datasnap.DSHTTPCommon.hpp
Datasnap.DSHTTPCommon TDSHTTPResponse

Beschreibung

Legt den ContentType-Header der HTTP-Antwort fest.

Die Eigenschaft ContentType legt den Medientyp des Inhalts der HTTP-Antwort fest. ContentType enthält einen String der Form Typ/Subtyp (z.B. text/html).

Siehe auch