Greetings !

My need is simple ! I try to create a C++ program that can read html pages generated by a Google search path.
(i.e. http://www.google.ca/search?hl=en&sa...igator&spell=1)

I use the sample tool available at http://doc.trolltech.com/4.4/network-http.html

As you can see, it needs a http path to download the html file and place it on a file on the local HD.

The problem is that the file is always "302 Found" !!!!! containing the following html text:

Qt Code:
  1. <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
  2. <TITLE>302 Moved</TITLE></HEAD><BODY>
  3. <H1>302 Moved</H1>
  4. The document has moved
  5. <A HREF="http://www.google.com/webhp">here</A>.
  6. </BODY></HTML>
To copy to clipboard, switch view to plain text mode 


If you place the following path in Firefox, ....
http://www.google.ca/search?hl=en&sa...igator&spell=1

...you will get a valid search result page !!!!!

So what am i doing wrong here ????
Thanks for any help !