mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +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
|
@ -31,7 +31,9 @@ public:
|
|||
|
||||
virtual bool fileExists(const std::string & path) = 0;
|
||||
|
||||
virtual void upsertFile(const std::string & path, const std::string & data) = 0;
|
||||
virtual void upsertFile(const std::string & path,
|
||||
const std::string & data,
|
||||
const std::string & mimeType) = 0;
|
||||
|
||||
/* Return the contents of the specified file, or null if it
|
||||
doesn't exist. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue