--- parser3/src/classes/file.C 2002/08/01 11:26:43 1.91 +++ parser3/src/classes/file.C 2002/08/06 09:07:59 1.93 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_FILE_C="$Id: file.C,v 1.91 2002/08/01 11:26:43 paf Exp $"; +static const char* IDENT_FILE_C="$Date: 2002/08/06 09:07:59 $"; #include "pa_config_includes.h" @@ -153,6 +153,7 @@ static void _stat(Request& r, const Stri ff.put(*new(pool) String(pool, "adate"), new(pool) VDate(pool, atime)); ff.put(*new(pool) String(pool, "mdate"), new(pool) VDate(pool, mtime)); ff.put(*new(pool) String(pool, "cdate"), new(pool) VDate(pool, ctime)); + ff.put(*content_type_name, new(pool) VString(r.mime_type_of(lfile_name.cstr(String::UL_FILE_SPEC)))); } static bool is_safe_env_key(const char *key) {