Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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



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



  • [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? :)



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



  • 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]


Log in to reply