title: QtWebkit: how to track/modify HTTP requests?
body: <p>I need to track/modify <a href="http://doc.qt.nokia.com/4.7-snapshot/qtwebkit.html" rel="nofollow">QtWebkit</a> HTTP requests. </p>
  
  <p>I have a hybrid web/desktop application prototype that uses HTML forms. Form submission is done purely in AJAX and there is no form action or classic form submit button. Everything is done using JavaScript handlers and AJAX. The problem is that I need to track the HTTP request that contains form and other data from C++ side.</p>
  
  <p>I've checked that <a href="http://doc.trolltech.com/main-snapshot/qnetworkaccessmanager.html" rel="nofollow">QNetworkAccessManager</a> has "<a href="http://doc.trolltech.com/main-snapshot/qnetworkaccessmanager.html#finished" rel="nofollow">finished(QNetworkReply*)</a>" signal that allows to interact with HTTP response, but it's not clear to track/modify HTTP requests in QtWebkit.</p>
  
  <p>Any usable example is welcome.</p>
  
  <p>Thanks.</p>
  
  <p>UPDATE:
  I think <a href="http://doc.qt.nokia.com/4.7/qnetworkaccessmanager.html#createRequest" rel="nofollow">QNetworkAccessManager::createRequest</a> is a way to go, checking it out.</p>