When creating a QNetworkRequest from a QUrl that contains a userInfo, it automatically triggers an HTTP Basic Auth. As long as the user name contains no whitespaces, everything works fine:
However, when the QUrl::userName() contains a whitespace, an empty password is transmitted to the server:
I'm currently using the following workaround, providing the "Authorization" header by hand:
But I don't think this is the intended way of providing authorization.