-
-
Notifications
You must be signed in to change notification settings - Fork 285
Open
Labels
Description
Hi,
I noticed that mime-db currently lists the media type for .lottie files as application/zip+dotlottie. I believe this is reversed and inconsistent with common structured syntax suffix usage. The more correct form should be application/dotlottie+zip.
Rationale:
- .lottie files are ZIP archives with a specific internal structure and semantics.
- According to RFC 6838, structured syntax suffixes describe the underlying representation format (e.g.
+zip,+json,+xml). - In this case,
zipis the representation, whiledotlottieis the specific format layered on top of it. - The current value suggests that dotlottie is a generic syntax suffix, which it is not.
I’m aware that application/dotlottie+zip is not currently registered with IANA. However:
- The +zip suffix is registered and widely used.
- Other media types commonly follow this pattern even prior to (or without) formal registration.
- This would align better with existing conventions and developer expectations.
Please let me know if there’s a specific reason for the current ordering, or if changing this would be acceptable.
Thanks for maintaining mime-db 🤍
Reactions are currently unavailable