mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
set ETag
This commit is contained in:
parent
3ad44fac0b
commit
8052b76165
|
@ -58,6 +58,7 @@ class SeedDMS_Controller_Download extends SeedDMS_Controller_Common {
|
|||
header("Content-Disposition: attachment; filename=\"" . $efilename . "\"; filename*=UTF-8''".$efilename);
|
||||
header("Content-Type: " . $content->getMimeType());
|
||||
header("Cache-Control: must-revalidate");
|
||||
header("ETag: ".$content->getChecksum());
|
||||
|
||||
sendFile($dms->contentDir.$content->getPath());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user