Sign in Join
FPDoc Onlineexperiment

TEZcgi.WriteContent procedure

Member of TEZcgipublicIn unit EzCgi

Writes the content type to standard output.

Declaration

pascal
procedure WriteContent(const ctype: string)

Arguments

ctype

Content type.

Description

WriteContent writes the content type cType to standard output, followed by an empty line. After this method was called, no more HTTP headers may be written to standard output. Any HTTP headers should be written before WriteContent is called. It should be called from the DoPost or DoGet methods.

See also

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