Hello, I'd like to submit a patch for consideration. I've added a -s option to htsearch which allows you to SUPPRESS the Content-type: text/html\n\n header. This allows you to call htsearch from with a php page or a jsp after the headers have already been committed. It provides the web programmer with a simple way to deal with the superfluous, (in this situation) Content-type: text/html header.
Cheers,
Jeff
(I gzipped the patch so that formatting is not whacked; let me know if
that is a problem...)
--
#include <stdio.h>
int main(){int a[]={74,117,115,116,32,97,110,111,116,104,101,114,32, \
67,32,104,97,99,107,101,114,10,0}; int *b=a;while(*b>0)putchar(*b++);}
htsearch.patch.gz
Description: application/gunzip

