Skip to content

Proposal: Add .lottie extension to application/zip #404

@samzulfigar-rb

Description

@samzulfigar-rb

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"]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions