Hello, I need to add html headers as is to output file.
I spent 4 hours, but still cant find right place in source, to do that.
I think, I have weak C++ skills to do that.
(i dont care about torrents or so. just direct http downloads)
can you help me?
big thanks.
HTTP response headers are retrieved using HttpHeaderProcessor::getHeaderString.
The acutual code that processes response header is in HttpConnection::receiveResponse.
Inserting HTTP response headers at the beginning of download file is a bit hard for aria2, since it depends on the file offset to write incoming data to local file.