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 Update on Monday, May 27th 2025

QNetworkRequest force to use HTTP 1.0

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 610 Views
  • 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 last edited by
    #1

    Hello all,

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

    JonBJ raven-worxR 2 Replies Last reply
    0
    • T trallallerotrallalla

      Hello all,

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

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on 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

        Hello all,

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

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on 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

        • Login

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