qt5base-lts/tests/auto/network/access/qnetworkreply
Shane Kearns b4a538ea1c Fix handling of urls containing username/password in QNetworkAccessManager
QNetworkAccessManager was ignoring the supplied credentials, although
webkit seems to support these urls at a higher level.

Following the behaviour of browsers:
We use supplied credentials if authentication is required.
We add supplied credentials to the authentication cache.
We emit authenticationRequired signal if the credentials were wrong.
We do not use previously cached credentials for that url

Synchronous http requests fail, if the credentials were wrong.

Task-number: QTBUG-18107
Change-Id: If46e8eab1511ba8a0f4bbe0d4efaabc4df0b8ab4
Reviewed-by: Richard J. Moore <rich@kde.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-02-17 15:04:07 +01:00
..
certs Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
echo Changed qnetworkreply unittest to work from install directory 2012-02-17 08:25:10 +01:00
test Changed qnetworkreply unittest to work from install directory 2012-02-17 08:25:10 +01:00
.gitattributes Create auto test for http HEAD request 2011-10-06 11:24:20 +02:00
.gitignore Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
bigfile Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
empty Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
image1.jpg Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
image2.jpg Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
image3.jpg Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
index.html fix tst_QNetworkReply::headFromHttp failure 2011-10-12 18:01:19 +02:00
qnetworkreply.pro Changed qnetworkreply unittest to work from install directory 2012-02-17 08:25:10 +01:00
qnetworkreply.qrc Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
resource Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
rfc3252.txt Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
smb-file.txt Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
tst_qnetworkreply.cpp Fix handling of urls containing username/password in QNetworkAccessManager 2012-02-17 15:04:07 +01:00