summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibHTTP/HttpResponse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibHTTP/HttpResponse.cpp')
-rw-r--r--Userland/Libraries/LibHTTP/HttpResponse.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibHTTP/HttpResponse.cpp b/Userland/Libraries/LibHTTP/HttpResponse.cpp
index c93f296ed0..fbea69cc39 100644
--- a/Userland/Libraries/LibHTTP/HttpResponse.cpp
+++ b/Userland/Libraries/LibHTTP/HttpResponse.cpp
@@ -8,9 +8,10 @@
namespace HTTP {
-HttpResponse::HttpResponse(int code, HashMap<String, String, CaseInsensitiveStringTraits>&& headers)
+HttpResponse::HttpResponse(int code, HashMap<String, String, CaseInsensitiveStringTraits>&& headers, size_t size)
: m_code(code)
, m_headers(move(headers))
+ , m_downloaded_size(size)
{
}