FileType = object mime*: Mime extension*: string ## File extension. (ex: `zip`)
Mime = object typ*: string ## Ex: `application` of `application/gzip`. subType*: string ## Ex: `gzip` of `application/gzip`. value*: string ## Ex: `application/gzip` of `application/gzip`.
func newFileType(mime, ext: string): FileType {...}{.raises: [], tags: [].}