Note the introductory version of network redirection related enums.

These were missed in d815de8c26 which
originally added these values.

Change-Id: I69618c90e71f7cc01eef3db477427759e62f626b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Reviewed-by: Mandeep Sandhu <mandeepsandhu.chd@gmail.com>
This commit is contained in:
Jake Petroules 2016-04-07 11:43:00 -07:00
parent 01d43cece8
commit 57ecc00978
2 changed files with 3 additions and 0 deletions

View File

@ -135,10 +135,12 @@ QNetworkReplyPrivate::QNetworkReplyPrivate()
\value TooManyRedirectsError while following redirects, the maximum \value TooManyRedirectsError while following redirects, the maximum
limit was reached. The limit is by default set to 50 or as set by limit was reached. The limit is by default set to 50 or as set by
QNetworkRequest::setMaxRedirectsAllowed(). QNetworkRequest::setMaxRedirectsAllowed().
(This value was introduced in 5.6.)
\value InsecureRedirectError while following redirects, the network \value InsecureRedirectError while following redirects, the network
access API detected a redirect from a encrypted protocol (https) to an access API detected a redirect from a encrypted protocol (https) to an
unencrypted one (http). unencrypted one (http).
(This value was introduced in 5.6.)
\value ProxyConnectionRefusedError the connection to the proxy \value ProxyConnectionRefusedError the connection to the proxy
server was refused (the proxy server is not accepting requests) server was refused (the proxy server is not accepting requests)

View File

@ -263,6 +263,7 @@ QT_BEGIN_NAMESPACE
Indicates whether the Network Access API should automatically follow a Indicates whether the Network Access API should automatically follow a
HTTP redirect response or not. Currently redirects that are insecure, HTTP redirect response or not. Currently redirects that are insecure,
that is redirecting from "https" to "http" protocol, are not allowed. that is redirecting from "https" to "http" protocol, are not allowed.
(This value was introduced in 5.6.)
\value User \value User
Special type. Additional information can be passed in Special type. Additional information can be passed in