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. How to analyze http request in server?
Qt 6.11 is out! See what's new in the release blog

How to analyze http request in server?

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 1.4k Views 1 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.
  • F Offline
    F Offline
    foxgod
    wrote on last edited by
    #1

    i want to send a http request by QNetworkAccessManager in client , i want also to accept http request and analyze http request in server .but i don't know how to do it?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ahmad88me
      wrote on last edited by
      #2

      The easiest way is to use PHP on ubuntu

      1 Reply Last reply
      0
      • dheerendraD Offline
        dheerendraD Offline
        dheerendra
        Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
        wrote on last edited by
        #3

        would you like to analyze URL sent through QNetworAccessManager ? Which is your web-server. Writing some CGI script at server side should solve your problem. This is nothing to do with any Qt function.

        Dheerendra
        @Community Service
        Certified Qt Specialist
        https://www.pthinks.com

        1 Reply Last reply
        0
        • F Offline
          F Offline
          foxgod
          wrote on last edited by
          #4

          i have came true http server by QTcpServer ,but send litter message by QTextStream,for instabce,
          @QTextStream os(socket);
          os <<"i love you";@
          when i accepet this message in client by QNetworkReply
          @QObject::connect(urlReplay,SIGNAL(readyRead()),this,SLOT(download()));@
          i can't get messgae?why ?

          http://doc.qt.digia.com/solutions/4/qtservice/qtservice-example-server.html

          but i have another question?

          how to come true Long connection in httpserver ?

          1 Reply Last reply
          0
          • dheerendraD Offline
            dheerendraD Offline
            dheerendra
            Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
            wrote on last edited by
            #5

            It is better to post different question and get the right answer.

            Dheerendra
            @Community Service
            Certified Qt Specialist
            https://www.pthinks.com

            1 Reply Last reply
            0

            • Login

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