use build timestamp as last-modified header on download

This commit is contained in:
Rob Vermaas 2011-09-15 15:22:00 +00:00
parent 2a18d8aac9
commit ef802279ed

View file

@ -197,6 +197,7 @@ sub download : Chained('build') PathPart {
notFound($c, "Path $path is a directory.") if -d $path;
$c->serve_static_file($path);
$c->response->headers->last_modified($c->stash->{build}->timestamp);
}