Small subsonic changes
- Follow redirect in subsonic ping test - Reset networkaccessmanager to make verify certificate setting take affect immediately
This commit is contained in:
@@ -112,7 +112,7 @@ QNetworkReply *NetworkAccessManager::createRequest(Operation op, const QNetworkR
|
||||
QByteArray user_agent = QString("%1 %2").arg(QCoreApplication::applicationName(), QCoreApplication::applicationVersion()).toUtf8();
|
||||
|
||||
if (request.hasRawHeader("User-Agent")) {
|
||||
// Append the existing user-agent set by a client collection (such as libmygpo-qt).
|
||||
// Append the existing user-agent set by a client library.
|
||||
user_agent += " " + request.rawHeader("User-Agent");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user