MKDoc doesn't generate HTTP headers the mod_perl way, see: http://perl.apache.org/docs/1.0/guide/porting.html#Generating_correct_HTTP_Hea ders and http://perl.apache.org/docs/general/correct_headers/correct_headers.html
Extra line before the document
*The “errors” documented here are not actually errors they are just the extra data that chunked transfer encoding adds, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6.1*
The easiest way to see the errors is using telnet:
telnet mkdoc.com 80 Trying 195.10.230.124... Connected to mkdoc.com (195.10.230.124). Escape character is '^]'. GET / HTTP/1.1 Host: mkdoc.com HTTP/1.1 200 OK Date: Wed, 27 Apr 2005 13:55:18 GMT Server: Apache/1.3.31 (Unix) mod_throttle/3.1.2 mod_gzip/1.3.26.1a mod_perl/1.29 Vary: * Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 45a0 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ...
The odd thing in the example above is the line before the DOCTYPE with 45a0 — what generates this, where is it from?