C++ (Qt)"HTTP/1.1 200 OKContent-Encoding: gzipContent-Type: text/xml;charset=Windows-1251Transfer-Encoding: chunkedDate: Mon, 08 Aug 2011 07:46:30 GMTServer: Apache (Unix) a?"153mRNr?0u&??' ±8A?VieC«vuLa?IhB¤u??D?a|UU;now??=iwF\a?NLbU¦4eYN7o3§u}2s"
while(pClient->bytesAvailable() != 0)
QByteArray incoming = pClient->readAll()
connect (pClient, SIGNAL(readyRead()), this, SLOT(slotReadyRead()));void QSslClient::slotReadyRead(){ try { QByteArray incoming; while(pClient->bytesAvailable() != 0) { incoming = pClient->readAll(); //Записываем ответ в глобальную переменную temp += incoming;//QByteArray temp } } catch(exception ex) { qDebug() << "###" << ex.what(); }}
?gzip=false