Sign in Join
FPDoc Onlineexperiment

THTTPHeader.ContentType property

Member of THTTPHeaderpublicIn unit HTTPDefs

Content-Type header field value

Declaration

pascal
property ContentType: string index Ord(hhContentType) read GetHeaderValue write SetHeaderValue;

Description

ContentType contains the Content-Type header field value, which specifies the media type of the entity body. This indicates the format and nature of the content (e.g., 'text/html', 'application/json').

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.