[Interest] QNetworkAccessManager - how to enforce authentication?
thiago.macieira at intel.com
Thu Aug 9 09:55:28 CEST 2012
On quarta-feira, 8 de agosto de 2012 19.34.28, Alex Malyushytskyy wrote:
> I could not find how to enforce authentication of QNetworkAccessManager.
> Problem is that for at least http server I have go work with,
> when user specify a valid user name, but invalid password
> when requested for authentication first time,
> user will not be requested for authentication second time,
> instead QNetworkReply signal finished() is emitted with error
> "Connection closed".
This sounds like a bug.
I can't say if the bug is in QNAM or in the server, but there's definitely a
> It would be okay, but next time request is started signal
> authenticationRequired will not be emitted.
> request will immediately finish with the same "Connection closed".
> So I am looking for the way to enforce authentication.
Fix the bug. That should make authentication work.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the Interest