Skip Navigation

Sign Up

If you sign up for an account on this web site you can customise elements of this site and subscribe to an email newsletter.

If you have an account on this web site you may login.

If you have an account on this site but have forgotten your user name and / or your password then you can request an account reminder email.

HTTP Headers

Extra line before the document

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?

Extra lines added to error documents

Error documents have extra content added before and after:

telnet mkdoc.com 80
Trying 195.10.230.124...
Connected to mkdoc.com (195.10.230.124).
Escape character is '^]'.
GET /foo/ HTTP/1.1
Host: mkdoc.com
HTTP/1.1 404 Not Found
Date: Wed, 27 Apr 2005 14:05:19 GMT
Server: Apache/1.3.31 (Unix) mod_throttle/3.1.2 mod_gzip/1.3.26.1a mod_perl/1.29
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
108
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL /foo/ was not found on this server.<P>
<HR>
<ADDRESS>Apache/1.3.31 Server at mkdoc.com Port 80</ADDRESS>
</BODY></HTML>
0

Up

This document was last modified by Chris Croome on 2005-04-27 07:06:33
MKDoc Ltd., 31 Psalter Lane, Sheffield, S11 8YL, UK.
Copyright © 2001-2005 MKDoc Ltd.