printing html content on the retreive

jesso1607 at rogers.com jesso1607 at rogers.com
Wed Jun 23 14:18:27 BST 2004


Thanks.  That works.

Is this ok for cached data as well?


> 
> From: David Faure <faure at kde.org>
> Date: 2004/06/23 Wed AM 08:56:53 EDT
> To: kfm-devel at kde.org
> Subject: Re: printing html content on the retreive
> 
> On Wednesday 23 June 2004 14:48, jesso1607 at rogers.com wrote:
> > In readBody, before each "return true" I do this:
> > 
> > kdDebug(7113) << "(" << m_pid << ") JASON 1 HTTPProtocol::readBody: html body: " << m_bufReceive.data() << endl;
> 
> Just before "return true" is too late - the data has been sent and cleared already
> (see the m_bufReceive.resize(0) in the loops, at lines 4152 and 4279 for me).
> 
> Try printing it before the       chain.slotInput(m_bufReceive);   line rather.
> (that's at line 4270 for me)
> 
> -- 
> David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
> Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
> 

     





More information about the kfm-devel mailing list