Skip to content

Questionable media type for .lottie: application/zip+dotlottie vs application/dotlottie+zip #427

Description

@trikadin

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, zip is the representation, while dotlottie is 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 🤍

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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