[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Accessing Http-Headers through a Konqueror Plugin
From: David Faure <faure () kde ! org>
Date: 2006-06-01 12:19:32
Message-ID: 200606011419.33478.faure () kde ! org
[Download RAW message or body]
On Thursday 01 June 2006 11:50, Allan Sandfeld Jensen wrote:
> On Thursday 01 June 2006 09:40, David Faure wrote:
> > HTTP Headers are part of the metadata for the job; you just need a signal
> > that tells you about the job being used for the download of the main page.
> > Since you're not the first one who seems to need this, feel free to make a
> > KHTMLPart patch and send it here...
>
> What does "View Document Information" do?
It uses a private member of KHTMLPart called d->m_httpHeaders ;)
(which itself comes from the job's metadata of course)
So another solution would be to add an accessor for m_httpHeaders,
but I think that emitting the Job * would be more generic since it would also
cover the use case of people wanting to -set- metadata in the main job
used by khtml; and it would also allow getting more metadata than just the
http headers.
--
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic