Remove Connection header

This commit is contained in:
Konstantinos Sideris 2018-01-10 23:38:34 +02:00
parent 7f3b6c4846
commit 82341247f7
1 changed files with 0 additions and 2 deletions

View File

@ -220,7 +220,6 @@ MatrixClient::sync() noexcept
endpoint.setQuery(query);
QNetworkRequest request(QString(endpoint.toEncoded()));
request.setRawHeader("Connection", "keep-alive");
auto reply = get(request);
connect(reply, &QNetworkReply::finished, this, [this, reply]() {
@ -342,7 +341,6 @@ MatrixClient::initialSync() noexcept
endpoint.setQuery(query);
QNetworkRequest request(QString(endpoint.toEncoded()));
request.setRawHeader("Connection", "keep-alive");
auto reply = get(request);
connect(reply, &QNetworkReply::finished, this, [this, reply]() {