comparison MoinMoin/wikiutil.py @ 5141:10785c0fd48f

add mimetype video/x-ms-wmv to wikiutil
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 10 Sep 2009 09:20:25 +0200
parents a362cdd8c418
children 12d27670e274 a2128aa8b830
comparison
equal deleted inserted replaced
5140:aff142620fdd 5141:10785c0fd48f
937 '.conf': 'text/plain', 937 '.conf': 'text/plain',
938 '.irc': 'text/plain', 938 '.irc': 'text/plain',
939 '.md5': 'text/plain', 939 '.md5': 'text/plain',
940 '.csv': 'text/csv', 940 '.csv': 'text/csv',
941 '.flv': 'video/x-flv', 941 '.flv': 'video/x-flv',
942 '.wmv': 'video/x-ms-wmv',
942 '.swf': 'application/x-shockwave-flash', 943 '.swf': 'application/x-shockwave-flash',
943 } 944 }
944 [mimetypes.add_type(mimetype, ext, True) for ext, mimetype in MIMETYPES_MORE.items()] 945 [mimetypes.add_type(mimetype, ext, True) for ext, mimetype in MIMETYPES_MORE.items()]
945 946
946 MIMETYPES_sanitize_mapping = { 947 MIMETYPES_sanitize_mapping = {