summaryrefslogtreecommitdiff
path: root/Libraries/LibProtocol/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibProtocol/Client.cpp')
-rw-r--r--Libraries/LibProtocol/Client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibProtocol/Client.cpp b/Libraries/LibProtocol/Client.cpp
index 0b80102a8d..e13cbb2db7 100644
--- a/Libraries/LibProtocol/Client.cpp
+++ b/Libraries/LibProtocol/Client.cpp
@@ -68,7 +68,7 @@ void Client::handle(const Messages::ProtocolClient::DownloadFinished& message)
{
RefPtr<Download> download;
if ((download = m_downloads.get(message.download_id()).value_or(nullptr))) {
- download->did_finish({}, message.success(), message.total_size(), message.shbuf_id());
+ download->did_finish({}, message.success(), message.total_size(), message.shbuf_id(), message.response_headers());
}
send_sync<Messages::ProtocolServer::DisownSharedBuffer>(message.shbuf_id());
m_downloads.remove(message.download_id());