cgiHeader(3)

cgiHeader3

Print the http header

Synopsys

#include <cgi.h>

void cgiHeader ();

Overview

This routine just prints out the Contents-type: line to make the web server happy. By default the CGI library assumes that you return regular HTML code and uses "text/html" as type. If your CGI program returns something else, you may set the type with cgiSetType(3). You may also add additional header lines by using cgiSetHeader(3).

Return value

This routine does not return a value.

Releases

13 releases since Debian 2.0 (Hamm); the text changed 2 times.

  1. 2.0–2.1
  2. 2.2–4.0
  3. 5.0–11

Author

This CGI library is written by Martin Schulze <[email protected]>. If you have additions or improvements please get in touch with him.

From cgilib 0.6-1.1+b1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.