ok. i have made the change ( using http.post now)

but still the same problem

Received error during HTTP fetch.

I have the following code to read the data and to check if the server has finished sending

Qt Code:
  1. void RSSListing::readData(const QHttpResponseHeader &resp)
  2. {
  3. qDebug() << "XML"<<http.readAll();
  4. if (resp.statusCode() != 200)
  5. http.abort();
  6. else {
  7. xml.addData(http.readAll());
  8. parseXml();
  9. }
  10. }
To copy to clipboard, switch view to plain text mode 

Qt Code:
  1. void RSSListing::finished(int id, bool error)
  2. {
  3. if (error) {
  4. qWarning("Received error during HTTP fetch.");
  5. lineEdit->setReadOnly(false);
  6. abortButton->setEnabled(false);
  7. fetchButton->setEnabled(true);
  8. }
  9. else if (id == connectionId) {
  10. lineEdit->setReadOnly(false);
  11. abortButton->setEnabled(false);
  12. fetchButton->setEnabled(true);
  13. }
  14. }
To copy to clipboard, switch view to plain text mode