Datasnap.DSHTTPCommon.TDSHTTPResponse.ContentType

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Datasnap.DSHTTPCommon.pas
Datasnap.DSHTTPCommon.hpp
Unit: Datasnap.DSHTTPCommon
Parent: TDSHTTPResponse

Delphi

property ContentType: string read GetContentType write SetContentType;

C++

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

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).

See Also