-
-
Notifications
You must be signed in to change notification settings - Fork 282
Closed
Labels
Description
Context
The .lottie file format is a ZIP container format for bundling Lottie JSON animations with their assets. It is widely used in React Native, Web, iOS, and Android apps for efficient animation packaging.
Currently, .lottie is not recognized in mime-db. Most platforms fall back to treating it as a generic application/zip, which causes friction when serving these files over HTTP, e.g. missing correct headers, caching issues, or requiring vendor patches (as in our case).
What we propose
Map the .lottie extension to application/zip in mime-db, alongside .zip.
"application/zip": {
"source": "iana",
"compressible": false,
"extensions": ["zip", "lottie"]
}