cgiheader(3) - Linux man page

Name

cgiHeader - Print the HTTP header

Synopsys

#include <cgi.h>
void cgiHeader ();

Description

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.

Author

This CGI library is written by Martin Schulze <joey@infodrom.north.de>. If you have additions or improvements please get in touch with him.

See Also

cgidebug(3), cgisetheader(3), cgisettype(3), cgiinit(3), cgigetvalue(3).

Referenced By

cgi(5), cgifree(3), cgigetcookie(3), cgigetcookies(3), cgigetvariables(3), cgiredirect(3)