Add 'Content-Disposition' header for specified statics.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 1 commit ahead of mche:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/Mojolicious/Plugin
t
xt
Changes
MANIFEST
Makefile.PL
Makefile.old
Mojolicious-Plugin-StaticAttachment-0.002.tar.gz
Mojolicious-Plugin-StaticAttachment-0.003.tar.gz
README.pod
README1
ignore.txt

README.pod

Доброго всем

Mojolicious::Plugin::StaticAttachment

¡ ¡ ¡ ALL GLORY TO GLORIA ! ! !

NAME

Mojolicious::Plugin::StaticAttachment - Add 'Content-Disposition' header for specified statics.

DESCRIPTION

Mojolicious plugin.

SYNOPSIS

$app->plugin('StaticAttachment'
  => paths => [
    '/foo.txt',
    'bar.portable.doc.format'=>{content_type=>'application/pdf', filename=>"файлик.pdf"}])

VERSION

Version 0.003

SEE ALSO

Mojolicious

Mojolicious::Plugin::RenderFile

AUTHOR

Михаил Че (Mikhail Che), <mche[-at-]cpan.org>

BUGS / CONTRIBUTING

Please report any bugs or feature requests at https://github.com/mche/Mojolicious-Plugin-StaticAttachment/issues. Pull requests also welcome.

COPYRIGHT

Copyright 2017 Mikhail Che.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.