X_SENDFILE


Description:

[ Version ( experimental = true ) ]
X_SENDFILE

If supported, generate a 'X-Sendfile' header instead of delivering the actual resource in the response body.

The absolute path as provided by GLib.File.get_path will be produced in the 'X-Sendfile' header. It must therefore be accessible for the HTTP server, otherwise it will silently fallback to serve the resource directly.




2022 vala-language.org