Skip to content

Support X-Sendfile #199

@Blacksmoke16

Description

@Blacksmoke16

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions