Added MIME type guessing if omitted from HTTP header.