plack::mime(3pm) debian man page | unix.com

Man Page: plack::mime

Operating Environment: debian

Section: 3pm

Plack::MIME(3pm)					User Contributed Perl Documentation					  Plack::MIME(3pm)

NAME
Plack::MIME - MIME type registry
SYNOPSIS
use Plack::MIME; my $mime = Plack::MIME->mime_type(".png"); # image/png # register new type(s) Plack::MIME->add_type(".foo" => "application/x-foo"); # Use MIME::Types as a fallback use MIME::Types 'by_suffix'; Plack::MIME->set_fallback(sub { (by_suffix $_[0])[0] });
DESCRIPTION
Plack::MIME is a simple MIME type registry for Plack applications. The selection of MIME types is based on Rack's Rack::Mime module.
SEE ALSO
Rack::Mime MIME::Types perl v5.14.2 2012-05-11 Plack::MIME(3pm)
Related Man Pages
encode::mime::header(3pm) - mojave
email::mime::createhtml::resolver::filesystem(3pm) - debian
plack::app::cascade(3pm) - debian
plack::app::file(3pm) - debian
plack::middleware::recursive(3pm) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
How can I do this in VI editor?
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections
My first PERL incarnation... Audio Oscillograph