Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
cgiHeader(3)		      Programmer's Manual		  cgiHeader(3)

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 regu-
       lar  HTML  code	and uses "text/html" as	type.  If your CGI program re-
       turns 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.org>.  If
       you have	additions or improvements please get in	touch with him.

SEE ALSO
       cgiDebug(3),  cgiSetHeader(3),	cgiSetType(3),	 cgiInit(3),   cgiGet-
       Value(3).

CGI Library			 6 April 2008			  cgiHeader(3)

NAME | SYNOPSYS | DESCRIPTION | RETURN VALUE | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=cgiHeader&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help