diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2020-09-24 11:56:39 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2020-09-29 10:27:08 +0200 |
commit | 8c60af6d22ef8a5eddfa9cd58da103f01b97240b (patch) | |
tree | 60e418ebc14580dcb7967afd919ae23048a57bd2 /src | |
parent | f8474306e5a42ac44eeccd7e01abe44ebeef79f6 (diff) |
Docs: Update default redirect policy enumeration
Change-Id: Ia72151cc0fbcb325572e7b623ef9a4b3236d797f
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/network/access/qnetworkrequest.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/network/access/qnetworkrequest.cpp b/src/network/access/qnetworkrequest.cpp index a1e17834c0..a02b1fb912 100644 --- a/src/network/access/qnetworkrequest.cpp +++ b/src/network/access/qnetworkrequest.cpp @@ -373,10 +373,11 @@ QT_BEGIN_NAMESPACE Indicates whether the Network Access API should automatically follow a HTTP redirect response or not. - \value ManualRedirectPolicy Default value: not following any redirects. + \value ManualRedirectPolicy Not following any redirects. - \value NoLessSafeRedirectPolicy Only "http"->"http", "http" -> "https" - or "https" -> "https" redirects are allowed. + \value NoLessSafeRedirectPolicy Default value: Only "http"->"http", + "http" -> "https" or "https" -> "https" redirects + are allowed. \value SameOriginRedirectPolicy Require the same protocol, host and port. Note, http://example.com and http://example.com:80 |