Fix user-agent

There was a semicolon in the user agent string which seems to cause
problems on certain servers.

Closes #37
This commit is contained in:
Bart De Vries 2023-02-15 14:49:54 +01:00
parent 090a6f0fd0
commit 71eb79979a
1 changed files with 1 additions and 1 deletions

View File

@ -225,5 +225,5 @@ QNetworkReply *Fetcher::head(QNetworkRequest &request) const
void Fetcher::setHeader(QNetworkRequest &request) const
{
request.setRawHeader(QByteArray("User-Agent"), QByteArray("Kasts/") + QByteArray(KASTS_VERSION_STRING) + QByteArray("; Syndication"));
request.setRawHeader(QByteArray("User-Agent"), QByteArray("Kasts/") + QByteArray(KASTS_VERSION_STRING) + QByteArray(" Syndication"));
}