QHttpResponseHeader is incomplete
Hello!
I'm getting an incomplete response header when I'm using below code.
Code:
void snipit::somefunkyStuff()
{
connect(http, SIGNAL(readyRead(const QHttpResponseHeader&)),
this, SLOT(readyReadCita(const QHttpResponseHeader&)));
-- some more code to do the http->request()
}
ba=http->readAll();
}
By using the above function I believe that I'm trying to read all the information before even the response is completely recieved hence I only see partial data. How can I over come this and read the whole response at once in complete?
Any directions would be very helpful.
Thanks in advance,
Re: QHttpResponseHeader is incomplete
Please!!!!!!!!
Don't cross post