[downloader:http] add signature checks for some formats

also add the MIME type for .obj files
This commit is contained in:
ClosedPort22
2023-01-15 23:40:55 +08:00
parent 512abeb4ae
commit b6706b373a
2 changed files with 12 additions and 0 deletions

View File

@@ -313,6 +313,9 @@ SAMPLES = {
("pdf" , b"%PDF-"),
("swf" , b"FWS"),
("swf" , b"CWS"),
("blend", b"BLENDER-v303RENDH"),
("obj" , b"# Blender v3.2.0 OBJ File: 'foo.blend'"),
("clip", b"CSFCHUNK\x00\x00\x00\x00"),
}