Hello,
I am trying to connect to a webpage and save it as an html document.
that code:
QString queryPart
= queryParttemp.
remove(url.
host());
queryPart.remove("http://");
header.setValue("Host", url.host());
httpInstance.request(header,0,&htmlFile);
QUrl url(finalLink);
QString queryParttemp = finalLink;
QString queryPart = queryParttemp.remove(url.host());
queryPart.remove("http://");
QHttpRequestHeader header("GET", queryPart);
header.setValue("Host", url.host());
httpInstance.request(header,0,&htmlFile);
To copy to clipboard, switch view to plain text mode
usually works; but sometimes not..
for example, a page from link:
http://www.radikal.com.tr/default.as...ticleID=914625
cannot be saved. I noticed something; when i enter this link on a web browser, the link automatically changes to:
http://www.radikal.com.tr/Radikal.as...ticleID=914625
Perhaps that is the reason why i cannot save the file..
What should i do to save the result of that request(that html doc)?
Thanks in advance...
Bookmarks