mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
S3BinaryCacheStore: Set Content-Type
This is necessary for serving log files to browsers.
This commit is contained in:
parent
8b1d65bebe
commit
45c70382ac
5 changed files with 25 additions and 13 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue