qt5base-lts/tests/auto
Mandeep Sandhu d815de8c26 QNetworkAccessManager: Support HTTP redirection
This commit adds support for following HTTP redirect responses on a per
request basis.

This behavior is disabled by default. It can be switched on by
setting the QNetworkRequest::FollowRedirectAttribute to true.

2 new error codes have been added to QNetworkReply:

* TooManyRedirectsError: Set when the number of redirects exceed a
given value set by the user (defaults to 50 if not set)

* UnsecureRedirectError: Set when we are redirecting from a 'https'
to 'http' protocol.

Test cases for the following scenarios:
* Single HTTP redirect using local test server
* Changing max-redirects
* Testing all redirect related error scenarios

The next commit will extend this feature at a QNAM level.

Task-number: QTBUG-8232
Change-Id: If9e28ad12bad08bcdc5bc511b1cd59dc9d8150f0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
2015-03-09 08:32:14 +00:00
..
android Update copyright headers 2015-02-11 06:49:51 +00:00
bic/data bic: Add 5.{1,2,3,4}.0 bic data for linux-gcc-amd64 2015-02-14 06:54:20 +00:00
cmake Update text to the new license header 2015-02-12 18:29:40 +00:00
compilerwarnings/data Fixed license headers 2015-02-17 18:46:09 +00:00
concurrent Update copyright headers 2015-02-11 06:49:51 +00:00
corelib QCommandLineParser: add parsing mode for options after arguments 2015-03-06 09:09:31 +00:00
dbus QDBusConnection::registorObject with interface 2015-02-15 02:17:53 +00:00
gui Optimize fallback RGB888 to RGB32 conversion 2015-03-03 13:38:17 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network QNetworkAccessManager: Support HTTP redirection 2015-03-09 08:32:14 +00:00
opengl Update copyright headers 2015-02-11 06:49:51 +00:00
other Fix accessibility character rect tests 2015-03-05 15:04:52 +00:00
printsupport Update copyright headers 2015-02-11 06:49:51 +00:00
shared Update copyright headers 2015-02-11 06:49:51 +00:00
sql PostgreSQL: Fix special floating point handling for 'float' types. 2015-02-18 11:01:15 +00:00
testlib Make the printing of complex byte arrays prettier 2015-02-15 06:35:43 +00:00
tools add autotest for qmake parser 2015-02-25 13:55:12 +00:00
widgets autotests: fix the build in case of QT_NO_WHEELEVENT 2015-03-03 13:30:39 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
auto.pro Temporarily disable the QtDBus tests if the session bus isn't available 2014-12-23 12:22:56 +01:00
network-settings.h Update copyright headers 2015-02-11 06:49:51 +00:00
qtest-config.h Update copyright headers 2015-02-11 06:49:51 +00:00
test.pl Update copyright headers 2015-02-11 06:49:51 +00:00