mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Fixed not sending Referer header to servers. Closes #299
This commit is contained in:
parent
645765b509
commit
af2add1a19
@ -327,7 +327,7 @@ QNetworkReply* NetworkManager::createRequest(QNetworkAccessManager::Operation op
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!m_sendReferer) {
|
if (!m_sendReferer) {
|
||||||
req.setRawHeader("Referer", "");
|
req.setRawHeader("Referer", QByteArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
req.setRawHeader("Accept-Language", m_acceptLanguage);
|
req.setRawHeader("Accept-Language", m_acceptLanguage);
|
||||||
|
Loading…
Reference in New Issue
Block a user