koorchik/Mojolicious-Plugin-RenderFile — pull request #2 by sshaw (2012-06-23 07:16:53+00:00)
Title: Create attachments from data option + other minor changes

I have an app that's creating attachments from MongoDB/GridFS. I wanted to use your plugin for this but it doesn't work with this scenario as there's no path to a file -just data, so I added a "data" option.

I also removed some redundant and superfluous method calls and quote the filename in the Content-XXX headers.

Also see:
https://github.com/sshaw/Mojolicious-Plugin-RenderFile/commit/ca441d66e9cdfe6a5754c8144ab6da9a951b9c7a#commitcomment-1495095

And:
https://github.com/koorchik/Mojolicious-Plugin-RenderFile/commit/5acf954f3598d6bf56718667156771bbe14a0843#openstruct-123208300