Commit dbac39f4 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

attica-kde: Allow it to use HTTP2

If the server supports it, and api.kde-look.org seems to.


(cherry picked from commit f8f3be66)
parent 27644883
Pipeline #134782 failed with stage
in 25 seconds
......@@ -125,6 +125,8 @@ QNetworkRequest KdePlatformDependent::addOAuthToRequest(const QNetworkRequest &r
const QString bearer = bearer_format.arg(token);
notConstReq.setRawHeader("Authorization", bearer.toUtf8());
}
notConstReq.setAttribute(QNetworkRequest::Http2AllowedAttribute, true);
return notConstReq;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment