1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Fixed not sending Referer header to servers. Closes #299

This commit is contained in:
nowrep 2012-03-04 21:59:56 +01:00
parent 645765b509
commit af2add1a19

View File

@ -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);