Utils: Forgot to pass responseHeaders parameters when we have a redirection

This commit is contained in:
Grégory Soutadé 2021-11-03 13:54:04 +01:00
parent 59c801da08
commit 56e4fda760

View File

@ -116,7 +116,7 @@ std::string DRMProcessorClientImpl::sendHTTPRequest(const std::string& URL, cons
if (location.size() != 0)
{
GOUROU_LOG(gourou::DEBUG, "New location");
return sendHTTPRequest(location.constData(), POSTData, contentType);
return sendHTTPRequest(location.constData(), POSTData, contentType, responseHeaders);
}
if (reply->error() != QNetworkReply::NoError)