aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/download.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/download.hh')
-rw-r--r--src/libstore/download.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstore/download.hh b/src/libstore/download.hh
index da55df7a6..f0228f7d0 100644
--- a/src/libstore/download.hh
+++ b/src/libstore/download.hh
@@ -38,6 +38,7 @@ struct DownloadResult
std::string etag;
std::string effectiveUrl;
std::shared_ptr<std::string> data;
+ uint64_t bodySize = 0;
};
class Store;
@@ -87,7 +88,4 @@ public:
bool isUri(const string & s);
-/* Decode data according to the Content-Encoding header. */
-ref<std::string> decodeContent(const std::string & encoding, ref<std::string> data);
-
}