diff options
author | Kirill Burtsev <kirill.burtsev@qt.io> | 2022-03-24 09:10:15 +0100 |
---|---|---|
committer | Kirill Burtsev <kirill.burtsev@qt.io> | 2022-04-08 17:14:13 +0200 |
commit | 7d82e53efe714964438a277fe79a04aed9967978 (patch) | |
tree | 3385aefde742a493775788781da2c9e1a8544a41 /src/core/clipboard_qt.cpp | |
parent | 9673b48b0a614ad2b9587d81f1882f88dd39be3b (diff) | |
download | qtwebengine-7d82e53efe714964438a277fe79a04aed9967978.tar.gz |
Resolve status code for http response with failure
All non-default https status codes are hidden under
net::ERR_HTTP_RESPONSE_CODE_FAILURE error of network stack. Handle
successful load case and set the real http status code for error.
Also set localized load error description only for http codes.
Fixes: QTBUG-46860
Fixes: QTBUG-61100
Task-number: QTBUG-94963
Change-Id: I81e083441d1814fb530f39ea3da1c4ef52b7da59
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit a4e32eac5cb858ffa5668b01cef10cc42854713b)
Diffstat (limited to 'src/core/clipboard_qt.cpp')
0 files changed, 0 insertions, 0 deletions