** (Service) - Holds a list of 'MimeTypes' that may be gzip'ed in a http response. ** A standard set of types are configured by default. To add to the list:** ** pre>** @Contribute { serviceType=GzipCompressible# }** static Void configureGzipCompressible(MappedConfig conf) {** conf[MimeType("text/funky")] = true** }** <pre** ** @uses a MappedConfig of 'MimeType:Bool'constmixin GzipCompressible {** Returns 'true' if the given `MimeType` may be compressed.** ** Only the 'mediaType' and 'subType' are used for matching, case is ignored.abstract Bool isCompressible(MimeType? mimeType)}internalconstclass GzipCompressibleImpl : GzipCompressible {privateconst Str:Bool compressibleMimeTypesinternalnew make(MimeType:Bool compressibleMimeTypes){ comTypes := Utils.makeMap(Str#, Bool#) compressibleMimeTypes.each |val, mime| { comTypes[toKey(mime)] = val}this.compressibleMimeTypes = comTypes.toImmutable}override Bool isCompressible(MimeType? mimeType){if(mimeType == null)returnfalsereturn compressibleMimeTypes.get(toKey(mimeType), false)}private Str toKey(MimeType mime){"${mime.mediaType}/${mime.subType}"}}