Name

MimeType — specify MIME types

SYNOPSIS

extension mime_type_name ...

DESCRIPTION

The directive defines MIME types.

The argument extension is the filename extension, or a special value "default" to apply to unknown content.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Defining MimeType

MimeType itl text/plain

MimeType default text/plain

NOTES

AVAILABILITY

MimeType is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Config.pm
Line 620

['MimeType',         'hash',             ''],

Source: lib/Vend/Config.pm
Line 3181 (context shows lines 3181-3198)

sub parse_hash {
my($item,$settings) = @_;
if (! $settings) {
  return $HashDefaultBlank{$item} ? '' : {};
}

my $c;

if(defined $C) {
  $c = $C->{$item} || {};
}
else {
  no strict 'refs';
  $c = ${"Global::$item"} || {};
}

return hash_string($settings,$c);
}

AUTHORS

Interchange Development Group

SEE ALSO

mime_type(7ic)

DocBook! Interchange!