mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-21 08:02:45 +08:00

This allows download of attachments that are larger than current memory limits, since we're not loading the entire file into memory any more. For inline file responses, we take a 1kb portion of the file to sniff before to check mime before we proceed.