AW: How to get HTTP-Requests

Baumann, Thomas baumann at valudo.de
Thu Aug 5 07:34:42 BST 2004


I just want to look at them and save them to some objects...

> -----Ursprüngliche Nachricht-----
> Von: Dawit A. [mailto:adawit at kde.org]
> Gesendet: Wednesday, August 04, 2004 5:08 PM
> An: kfm-devel at kde.org
> Betreff: Re: How to get HTTP-Requests
> 
> 
> On Wednesday 04 August 2004 10:14, Baumann, Thomas wrote:
> > Hi there,
> >
> > how can I log HTTP-requests sent by KHTMLPart? I tried to modify
> > khtml_part.cpp that way it takes the request out of 
> KIO::Job's metadata in
> > slotFinished(KIO::Job *).
> >
> > [code]
> >    KIO::MetaData meta = job->metaData();
> >    request = meta["requestheaders"];
> > [/code]
> >
> > Unfortunately, if the request is redirected, I just get the 
> last request
> > sent by the job. Does anybody know how to get all requests?
> >
> > ideas are welcome...
> 
> Depends on what you are trying to do. Do you want to do 
> something with the 
> header or do you just want to look at the output ?
> 
> -- 
> Regards,
> Dawit A.
> "Preach what you practice, practice what you preach"
> 




More information about the kfm-devel mailing list