qt5base-lts/tests/auto/network/access
Mandeep Sandhu fd5dd27126 Add more specific HTTP error codes to QNetworkReply::NetworkError
A few more HTTP status codes from the 4xx and 5xx series have been
added to QNetworkReply::NetworkError.

For content errors, the following codes have been added:
1. 409 - Resource Conflict
2. 410 - Resource Gone

For server related errors, the following codes have been added:
1. 500 - Internal Server Error
2. 501 - Operation Not Implemented
3. 503 - Service Unavailable

Few of the above codes are quite possible when communicating with REST
based services.

NOTE:
=====
* HTTP error status 400 is interpreted as
QNetworkReply::ProtocolInvalidOperationError.
* QNetworkReply::UnknownServerError is returned for all server related
errors (5xx) not listed above.

[ChangeLog][QtNetwork][QNetworkReply] Added more (specific) HTTP status
codes to NetworkError enum.

Task-number: QTBUG-30880
Change-Id: I9d2a133f6b3869f26710c6eb930dd8b08df31108
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
2014-01-30 07:56:47 +01:00
..
qabstractnetworkcache tests: Make the QT assignments more explicit 2013-08-21 19:05:52 +02:00
qftp WinRT: Fixed compilation of network autotests and benchmarks 2013-12-06 15:06:47 +01:00
qhttpnetworkconnection Remove Nokia-domains in commented-out test code. 2013-07-12 12:41:30 +02:00
qhttpnetworkreply Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qnetworkaccessmanager QNetworkAccessManager: track online / accessible state without session 2013-04-02 10:46:23 +02:00
qnetworkcachemetadata tests: Make the QT assignments more explicit 2013-08-21 19:05:52 +02:00
qnetworkcookie tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
qnetworkcookiejar QNetworkCookie: allow cookies for IPv6 domains 2013-12-13 09:44:25 +01:00
qnetworkdiskcache tests: Make the QT assignments more explicit 2013-08-21 19:05:52 +02:00
qnetworkreply Add more specific HTTP error codes to QNetworkReply::NetworkError 2014-01-30 07:56:47 +01:00
qnetworkrequest tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
access.pro test: QFtp tests require `private_tests' set 2012-09-09 08:51:05 +02:00