Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
# Map of known MIME types
class MediaTypes
# Map of known MIME types
class MediaTypes
+
+ # MIME types by extensions.
protected var types = new HashMap[String, String]
# Get the type/subtype associated to a file extension `ext`
protected var types = new HashMap[String, String]
# Get the type/subtype associated to a file extension `ext`
fun media_types: MediaTypes do return once new MediaTypes
fun media_types: MediaTypes do return once new MediaTypes