Re: %header_order membership

Gisle Aas (aas@bergen.sn.no)
14 Aug 1997 11:20:56 +0200


Cliff Wheatley <cwheat@concordia.net> writes:

>  And that's what's causing my concern, is the x-meta-foo header _completely_
> equivalent to the meta tag?  Will a prior-to-HTTP/1.1 browser (or search
> engine) respond to the x-meta-foo header?  I suspect not.  Any thoughts? 

The x-meta-foo headers are for internal libwww-perl use only.  It is just
a handy way of accessing these meta elements.

Since the HTML::HeadParser is activated for all html content (unless
you turn it off: $ua->parse_head(0)), you can access them directly
from the response object:

   $res = $ua->request($req);
   $foo = $res->header('x-meta-foo');

-- 
Gisle Aas <aas@sn.no>