Description
ResultContentType sets the Content-Type
HTTP response header generated by search.cgi.
The value can include character set specification.
The default value is text/html; charset=$(BrowserCharset).
If ResultContentType is set to none,
then the Content-Type header is not printed.
This is useful if you execute search.cgi from another Web application
which sends HTTP headers itself, so search.cgi
does not need to do it. An example of a PHP program using
system() call to include search.cgi
may look like this:
<?
include("../include/top.php");
system("export QUERY_STRING=\"$QUERY_STRING\"; /path/to/search.cgi");
include("../include/bot.php");
?>