libmaia
libmaia copied to clipboard
Client: Work around missing Authorization header
QNetworkAccessManager only sends the Authorization header after the server replies with status code 401. Not all servers do this (in particular, Maia's own XMLRPC server does not do this). Work around the issue by manually building the required Authorization header from the URL's user info.