-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
Allows the web server to handle file/binary downloads while delegating authentication and authorization to the web application. While maybe not as useful as it is for PHP given Crystal's efficiency/non-script usage, it still has some nice benefits and is easy enough to implement so my as well.
See https://www.yiiframework.com/wiki/129/x-sendfile-serve-large-static-files-efficiently-from-web-applications for more information.
Can reference https://github.com/symfony/symfony/blob/6.2/src/Symfony/Component/HttpFoundation/BinaryFileResponse.php#L205-L231.