printing html content on the retreive

David Faure faure at kde.org
Wed Jun 23 13:56:53 BST 2004


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