http status code in khtml

Miroslav Suchý miroslav at suchy.cz
Tue Jan 24 18:40:23 GMT 2006


Miroslav Suchý wrote:
> Hello all.
> When I open web page in KHTMLPart class, where I can find http status
> code of this page (like 200 OK, 404 not found)? I can not find in
> documentation.
> 
> Regards
> 	Miroslav Suchy

I read all documentation of KHTMLPart, but I did not find any
information about http status code. I try to read *.cpp code and trace
method last_modified(), which should take its information from HTTP
headers, because I can take http status code from headers too. But trace
of last_modified() end in class QFileInfo, which is not connected with
HTTP headers :(
So I change and specify my question:
I have class derived from KHTMLPart and I need access to HTTP headers of
opened page. Can somebody point me where I can find it?

I was also looking in KIO::*, but it is huge and I was totaly lost in
documentation.

Thanks for any information.

Miroslav Suchy

-- 
                                        ,,,
                                       (o o)
  =================================oOO==(_)==OOo===========
 )               mailto:miroslav at suchy.cz
(   ICQ: #70802630 tel:+420-603-775737 skype:MiroslavSuchy
 ) Computo, ergo sum.   -- Curt Suplee
(________________________________________Oooo._____________
                                 .oooO   (   )
                                 (   )    ) /
                                  \ (    (_/
                                   \_)





More information about the kfm-devel mailing list