Add --default-mimetype flag.

This commit is contained in:
Emil Mikulic
2015-05-19 21:40:26 +10:00
parent e9aeaba7fe
commit c4c0034242
3 changed files with 14 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ class TestMimemap(TestHelper):
self.files = [ ("test-file.a1", "test/type1"),
("test-file.ap2", "test/type2"),
("test-file.app3", "test/type3"),
("test-file.appp4", "application/octet-stream") ]
("test-file.appp4", "test/default") ]
for fn, _ in self.files:
open(WWWROOT + "/" + fn, "w").write(self.data)