From 634d6c10172a69b5dc804b9aa60ba77843f214cf Mon Sep 17 00:00:00 2001 From: ianb Date: Sun, 17 Jul 2005 23:00:09 +0000 Subject: Include SSI mimetypes (also an example of manipulating extension mapping) --- examples/filebrowser/server.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples') diff --git a/examples/filebrowser/server.conf b/examples/filebrowser/server.conf index 81ce746..3eba403 100644 --- a/examples/filebrowser/server.conf +++ b/examples/filebrowser/server.conf @@ -33,3 +33,7 @@ body_end_regex = [ property_regex = [ r''] property_template = '\n' + +from mimetypes import types_map +types_map['.ssi'] = 'text/plain' +types_map['.inc'] = 'text/plain' -- cgit v1.2.1