about summary refs log tree commit diff
path: root/src/libstore/http-binary-cache-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-14T14·26+0100
committerEelco Dolstra <edolstra@gmail.com>2017-03-15T15·50+0100
commit45c70382ac152107d40956c6a3ab8c329086733f (patch)
treef99d8dddffd7ed5ae1b823572c9bbaf0cf2af276 /src/libstore/http-binary-cache-store.cc
parent8b1d65bebe5af8960ba813e1233f2596a3ffebb7 (diff)
S3BinaryCacheStore: Set Content-Type
This is necessary for serving log files to browsers.
Diffstat (limited to 'src/libstore/http-binary-cache-store.cc')
-rw-r--r--src/libstore/http-binary-cache-store.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/http-binary-cache-store.cc b/src/libstore/http-binary-cache-store.cc
index 9d31f77c921f..37a7d6ace142 100644
--- a/src/libstore/http-binary-cache-store.cc
+++ b/src/libstore/http-binary-cache-store.cc
@@ -64,7 +64,9 @@ protected:
         }
     }
 
-    void upsertFile(const std::string & path, const std::string & data) override
+    void upsertFile(const std::string & path,
+        const std::string & data,
+        const std::string & mimeType) override
     {
         throw UploadToHTTP("uploading to an HTTP binary cache is not supported");
     }