midgardproject/midgardmvc_helper_attachmentserver — pull request #10 by feri (2011-12-22 13:21:06+00:00)
Title: Safety and cache control

We always received an ezc exception if the original file was 0 byte long. This case is handled now, so we will not call the ezc transformations and produce a meaningless attachments for 0 byte long original files.

Cache control was also improved by setting the proper HTTP headers.