Mojolicious::Types man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Mojolicious::Types(3) User Contributed Perl DocumentationMojolicious::Types(3)

NAME
       Mojolicious::Types - MIME Types

SYNOPSIS
	 use Mojolicious::Types;

DESCRIPTION
       Mojolicious::Types is a container for MIME types.

ATTRIBUTES
       Mojolicious::Types implements the following attributes.

   "types"
	 my $map = $types->types;
	 $types	 = $types->types({png => 'image/png'});

       List of MIME types.

METHODS
       Mojolicious::Types inherits all methods from Mojo::Base and implements
       the following ones.

   "detect"
	 my $extensions = $types->detect('application/json;q=9');

       Detect file extensions from "Accept" header value.  Note that this
       method is EXPERIMENTAL and might change without warning!

   "type"
	 my $type = $types->type('png');
	 $types	  = $types->type(png => 'image/png');

       Get or set MIME type for file extension.

SEE ALSO
       Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.

perl v5.14.1			  2011-09-01		 Mojolicious::Types(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net