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 bug somewhere. > 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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest