Query: plack::mime
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Plack::MIME(3pm) User Contributed Perl Documentation Plack::MIME(3pm)NAMEPlack::MIME - MIME type registrySYNOPSISuse 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] });DESCRIPTIONPlack::MIME is a simple MIME type registry for Plack applications. The selection of MIME types is based on Rack's Rack::Mime module.SEE ALSORack::Mime MIME::Types perl v5.14.2 2012-05-11 Plack::MIME(3pm)
| Related Man Pages |
|---|
| dancer::mime(3pm) - debian |
| encode::mime::header(3pm) - debian |
| plack::middleware::recursive(3pm) - debian |
| plack::middleware::static(3pm) - debian |
| encode::mime::header(3pm) - suse |
| Similar Topics in the Unix Linux Community |
|---|
| How can I do this in VI editor? |
| Is UNIX an open source OS ? |
| Introduction |
| One instance of comparing grep and awk |
| New UNIX and Linux History Sections |