summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkreplyhttpimpl.cpp
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2017-09-29 10:16:11 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2017-09-29 14:12:35 +0000
commit49643145e13ff74cb3ecf6f5680fa23c91f661ff (patch)
treeb29bcc7ad70e898d618b4e2a595491473727faf9 /src/network/access/qnetworkreplyhttpimpl.cpp
parent06cb408979831250298c4492ea8133e362c1bcc7 (diff)
HTTP/2 protocol handler: set redirect URL on reply
For HTTP/1 it's done when no data expected and response headers received - protocol handler emits channel->allDone which handles the status code and sets (if needed) a redirectUrl. HTTP/2 protocol handler cannot emit allDone (it has many requests multiplexed and actually cannot say allDone yet). So we set a redirect url if we have the corresponding status code and found 'location' header. Task-number: QTBUG-63471 Change-Id: Ibd3438ef918c245a46b8c0128910a89b9a418448 Reviewed-by: Andy Shaw <andy.shaw@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/network/access/qnetworkreplyhttpimpl.cpp')
0 files changed, 0 insertions, 0 deletions