See this message repeatedly in my error log and would like to eliminate it. the following sub is called before each page is generated:
# --------------------------------------------------------
# Print out the headers if they haven't already been printed.
if (!$html_headers_printed) {
print "Content-type: text/html\n\n";
$html_headers_printed = 1;
}
}
when i look at source code on any page, the content-type statement isn't there. is this the problem? can i eliminate it by placing
in the header? i'm just adding content-type; the first part was generated by bootstrap i think.
Code:
sub html_print_headers { # --------------------------------------------------------
# Print out the headers if they haven't already been printed.
if (!$html_headers_printed) {
print "Content-type: text/html\n\n";
$html_headers_printed = 1;
}
}
when i look at source code on any page, the content-type statement isn't there. is this the problem? can i eliminate it by placing
Code:
<meta http-equiv="X-UA-Compatible" content="IE=edge" content-type="text/html; charset=UTF-8">