Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QNetworkRequest force to use HTTP 1.0
Forum Updated to NodeBB v4.3 + New Features

QNetworkRequest force to use HTTP 1.0

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 658 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    trallallerotrallalla
    wrote on 13 Jul 2018, 12:33 last edited by
    #1

    Hello all,

    I cannot find a way to force QNetworkRequest to use HTTP 1.0.
    Does someone know how to?

    J R 2 Replies Last reply 13 Jul 2018, 14:02
    0
    • T trallallerotrallalla
      13 Jul 2018, 12:33

      Hello all,

      I cannot find a way to force QNetworkRequest to use HTTP 1.0.
      Does someone know how to?

      J Offline
      J Offline
      JonB
      wrote on 13 Jul 2018, 14:02 last edited by JonB
      #2

      @trallallerotrallalla
      I assume you are https://stackoverflow.com/questions/51324534/how-to-change-http-version-in-qnetworkrequest too? :)

      1 Reply Last reply
      0
      • T trallallerotrallalla
        13 Jul 2018, 12:33

        Hello all,

        I cannot find a way to force QNetworkRequest to use HTTP 1.0.
        Does someone know how to?

        R Offline
        R Offline
        raven-worx
        Moderators
        wrote on 13 Jul 2018, 14:07 last edited by raven-worx
        #3

        @trallallerotrallalla
        All Qt network requests are fixed to HTTP/1.1

        The 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.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        3

        1/3

        13 Jul 2018, 12:33

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved