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. The URL for the request may be different than that of the reply?

The URL for the request may be different than that of the reply?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 915 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.
  • R Offline
    R Offline
    redstoneleo
    wrote on last edited by
    #1

    in the doc of QNetworkReply::request() says "In special, note that the URL for the request may be different than that of the reply."

    I wonder What factor(s) can cause the difference ?

    Note : The Network Access API does not by default follow redirections: it’s up to the application to determine if the requested redirection should be allowed, according to its security policies.

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

      [quote author="redstoneleo" date="1384348691"]in the doc of QNetworkReply::request() says "In special, note that the URL for the request may be different than that of the reply."
      [/quote]

      Maybe that means you need not worry about the URL of the reply? :)

      Thou shalt programme
      http://www.amin-ahmadi.com

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MuldeR
        wrote on last edited by
        #3

        Maybe the web-server does URL Redirection and Qt handles it transparently for you?

        My OpenSource software at: http://muldersoft.com/

        Qt v4.8.6 MSVC 2013, static/shared: http://goo.gl/BXqhrS

        Go visit the coop: http://youtu.be/Jay...

        1 Reply Last reply
        0
        • R Offline
          R Offline
          redstoneleo
          wrote on last edited by
          #4

          Note : The Network Access API does not by default follow redirections: it’s up to the application to determine if the requested redirection should be allowed, according to its security policies.
          [quote author="MuldeR" date="1384356243"]Maybe the web-server does URL Redirection and Qt handles it transparently for you?[/quote]

          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