diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-04-18 18:02:44 +0100 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-04-18 18:02:44 +0100 |
commit | f1fba299bd07510346082ef985ef08a494dca9d9 (patch) | |
tree | 1427ab0c4ed25ff4b04b4e6728ac057c1ce36737 /morph-cache-server | |
parent | d751e8da557741eb21d0856293e80d57474721b7 (diff) | |
download | morph-f1fba299bd07510346082ef985ef08a494dca9d9.tar.gz |
Use the desired artifact filename as the download filename.
Diffstat (limited to 'morph-cache-server')
-rwxr-xr-x | morph-cache-server | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/morph-cache-server b/morph-cache-server index 4639a33a..7618f5b9 100755 --- a/morph-cache-server +++ b/morph-cache-server @@ -100,6 +100,7 @@ class MorphCacheServer(cliapp.Application): if os.path.exists(filename): return static_file(basename, root=self.settings['artifact-dir'], + filename=basename, download=True) else: response.status = 404 |