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. When is http header completely downloaded?
QtWS25 Last Chance

When is http header completely downloaded?

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 412 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.
  • B Offline
    B Offline
    brainchild
    wrote on last edited by
    #1

    QNetworkReply offers methods to query HTTP headers. On closer inspection of the documentation, it appears that even though an instance is available, header information may be incomplete. This is the reason that the metaDataChanged() signal is provided.. However, in a normal use case, one would want to process metadata once the header is information is complete, rather than processing it each time it changes. Unfortunately, there is no signal indicating that the header has been completely transmitted. Is there a simple way to process the header exactly once, at the time when header transmission is complete? I suppose this can be done in the first readyRead() signal, but I hopeful there is a more elegant solution.

    Thank you.

    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