diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2020-10-21 18:31:13 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2020-10-28 08:48:26 +0200 |
commit | dfca01e18687987b247e33130dc86738f75aea90 (patch) | |
tree | d0d531ed90e994dbd0ba6d8e491a0fa597125fc5 /tests/auto/network/ssl/qsslsocket/qsslsocket.pro | |
parent | cf03874dbbaeefbc01a2ffcc73dd36bad2442bc6 (diff) |
Update the HTTP example
- Extended the documentation talking about it
- Initialize members in the header rather than in the ctor
- Some formatting changes
- Prefer connect-ing to QNetworkReply rather than QNAM for sslErrors
- Because we didn't use the QNetworkReply* argument
- Put the QNetworkReply pointer in a managed pointer
- Removed the code explicitly handling a redirect (it's the new default)
- Edited HttpWindow::httpFinished so that there're less places to reset
the reply pointer
- Updated some ifdefs I didn't update when I was revamping this example
3 years ago
Task-number: QTBUG-87306
Change-Id: I10a6f756c09908f199ac9c61e28b49625af10105
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests/auto/network/ssl/qsslsocket/qsslsocket.pro')
0 files changed, 0 insertions, 0 deletions