
MojoX::Types - Types

use MojoX::Types;
my $types = MojoX::Types->new;

MojoX::Types is a container for MIME types.
types my $map = $types->types;
$types = $types->types({png => 'image/png'});

MojoX::Types inherits all methods from Mojo::Base and implements the follwing the ones.
type my $type = $types->type('png');
$types = $types->type(png => 'image/png');