From Rails, you can set the response headers by modifying the response.headers hash: response.headers['X-Sendfile'] = file_path ...
確定! 回上一頁