const classafBedSheet::GzipCompressible

sys::Obj
  afBedSheet::GzipCompressible

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:

@Contribute { serviceType=GzipCompressible# }
static Void configureGzipCompressible(MappedConfig config) {
   config.addMapped(MimeType("text/funky"), true)
}
isCompressible

Source

Bool isCompressible(MimeType? mimeType)

Returns true if the given MimeType may be compressed.

Only the mediaType and subType are used for matching, case is ignored.