Доброго всем

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.