How to get HTTP-Requests

Baumann, Thomas baumann at valudo.de
Wed Aug 4 15:14:51 BST 2004


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...

Thanks,
Thomas




More information about the kfm-devel mailing list