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

David Kilzer ddkilzer at webkit.org
Wed Oct 29 12:33:25 PDT 2008


On Wed, 10/29/08, Andrew S. Townley <ast at atownley.org> wrote:

> Fair enough.  What I'm looking for at a minimum is the
> headers
> associated with each HTTP response.  It would be nice to
> also be able to
> extract any HTML meta tags and have access to those as
> well.
> 
> Other "interesting" things available to the user
> from Firefox's Page
> Info dialog include:
> 
>  - Referring URL
>  - Additional security information
>  - Number of visits, cookies, etc.
>  - List of linked/inline resources
> 
> However, I can do the majority of what I need with the
> headers.

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?

Dave




More information about the webkit-dev mailing list