Skip to content

Commit b18e3e8

Browse files
committed
Fix code coverage issue
1 parent c62789b commit b18e3e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FlyingFox/Sources/Handlers/FileHTTPHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public struct FileHTTPHandler: HTTPHandler {
6060
case "properties":
6161
return "text/plain"
6262
default:
63-
return UTType(filenameExtension: pathExtension)?.preferredMIMEType ?? "application/octet-stream"
63+
return UTType(filenameExtension: pathExtension)?.preferredMIMEType ?? legacyMakeContentType(for: pathExtension)
6464
}
6565
} else {
6666
return legacyMakeContentType(for: pathExtension)

0 commit comments

Comments
 (0)