mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Add --default-mimetype flag.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user