mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-14 02:52:12 +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