[webkit-dev] How to access resource meta-data

Andrew S. Townley ast at atownley.org
Wed Oct 29 14:22:47 PDT 2008


On Wed, 2008-10-29 at 12:33 -0700, David Kilzer wrote:

> I think most of this information (except maybe the <meta> tags) is
> available through the Web Inspector.  You could review the source code
> for it to determine how to get what you're looking for.
> 
> Also, is there a reason the Web Inspector isn't sufficient for your needs?

Do you mean the stuff in here (/WebKit/WebCore/inspector)?  Maybe it is,
and if it is, great.  However, I won't be using the standard inspector
panels to display it, so I'd have to do whatever it is doing to extract
the information I need.

Like I said, it may be obvious, but I'm just really starting to get a
feel where certain bits are located in the source tree.  I'm *sure* it's
in there somewhere, but I couldn't find anything obvious in the network
backend, the GTK+ client classes or the path mentioned above that looked
like good candidates.

I did have a quick look through the Apple docs for NSURLResponse before
I sent the message, but from the source, I got the feeling that the
networking layers were generally supplied by the particular
platform/port, and therefore, they wouldn't necessarily expose the same
APIs.

I'll keep looking though.

Cheers,

ast
-- 
Andrew S. Townley <ast at atownley.org>
http://atownley.org



More information about the webkit-dev mailing list