smf/smfservermodule/smfserver/transportmgr/smftransportmanagerutil.cpp
changeset 26 83d6a149c755
parent 25 a180113055cb
equal deleted inserted replaced
25:a180113055cb 26:83d6a149c755
   598 			// And the header says the response is a valid gzip data. 
   598 			// And the header says the response is a valid gzip data. 
   599 			// If so, inflate the gzip deflated data
   599 			// If so, inflate the gzip deflated data
   600 			if((QString("1f") == QString(firstByte.toHex())) && (QString("8b") == QString(secondByte.toHex())) )
   600 			if((QString("1f") == QString(firstByte.toHex())) && (QString("8b") == QString(secondByte.toHex())) )
   601 				{
   601 				{
   602 				gzipEncoded = true;
   602 				gzipEncoded = true;
   603 				qDebug()<<"Response is gzip encoded!!!";
   603 				qDebug()<<"Response is gzip encoded!!! = "<<gzipEncoded;
   604 				arr = inflateResponse(response, error);
   604 				arr = inflateResponse(response, error);
   605 				if(!arr)
   605 				if(!arr)
   606 					trResult = SmfTransportOpGzipError;
   606 					trResult = SmfTransportOpGzipError;
   607 			}
   607 			}
   608 		else
   608 		else