diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2017-09-28 14:40:02 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2017-09-28 14:04:28 +0000 |
commit | 9e268185bbb39285ee087868f9d904d7c9f6fe61 (patch) | |
tree | 5ecf967737c2c3d0d598dff93665860e8172c218 /src/corelib/io | |
parent | 1cb5943aee67cac18a28d64a59ae62f8459ba8a0 (diff) |
HTTP/2 protocol handler: set the 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. Before it's too late.
Task-number: QTBUG-63471
Change-Id: Icfa871fb999e676650d62c45a20e689596da4028
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/io')
0 files changed, 0 insertions, 0 deletions