QNetworkRequest force to use HTTP 1.0
-
wrote on 13 Jul 2018, 12:33 last edited by
Hello all,
I cannot find a way to force QNetworkRequest to use HTTP 1.0.
Does someone know how to? -
Hello all,
I cannot find a way to force QNetworkRequest to use HTTP 1.0.
Does someone know how to?wrote on 13 Jul 2018, 14:02 last edited by JonB -
Hello all,
I cannot find a way to force QNetworkRequest to use HTTP 1.0.
Does someone know how to?@trallallerotrallalla
All Qt network requests are fixed to HTTP/1.1The only way to enforce HTTP/1.0 is to create a custom QTcpSocket to the server and send a "raw" request. But this means you will have to do the HTTP parsing of the response all by yourself.
1/3