Use CGI header() Function
Brought to you by:
jshimada
I came across a problem where spellchecker.pl was
outputting the content-type header twice, once in the
headers and once spellchecker.pl. This screwed things
up, and led to the spellchecker results to load as
plain text. I belive it happened because I'm running it
under mod_perl, and my config was outputting its own
content-type header.
This patch addresses the issue by useing the CGI
header() function, instead of inlining it in the output.
Fixed Header Outpu in spellchecker.pl