[Qt-interest] QHttp getting empty response

bd.anon at free.fr bd.anon at free.fr
Tue Sep 27 22:11:33 CEST 2011


On Tue, 27 Sep 2011 10:31:24 -0500, Paul Miller <paul at fxtech.com>
wrote:

>Recently, we've gotten a fair number of people who are not getting 
>anything back in the response -just empty data.


I got a very similar problem using QNAM and Qt4.8b on Windows 7. Code
was working last week, no longer works, but now returns empty data. I
did not change the code, nor the Qt version or anything in the
environment, except for updating Windows (see below).

What did change however, is the website, with a new version : One page
is still downloadable, the other is no longer. The second page is only
accessed after getting a url from the first one.

I strongly suspect, but have not proven, some black magic java script
stuff, possibly side effects of "improved" scripts designed to prevent
the use of adblock, noScript or similar anti-add extensions  : QNAM or
Webkit are not guilty, as I can successfully read both pages using the
Qt supplied demo browser, which, however, do run all of the java
scripts in the first page, while I do not run any of them. Yes, it is
ok for robots to follow this link.

Another potential culprit is one of the latest windows 7 updates : I
noticed the problem only a few hours after updating windows.

Hope it helps narrow down the problem...



More information about the Qt-interest-old mailing list