Re: Support for "NAME"-attribute in META tag

Andrew Daviel (andrew@andrew.triumf.ca)
Fri, 7 Feb 1997 14:49:13 -0800 (PST)


On 7 Feb 1997, Gisle Aas wrote:

> The HTML::HeadParser in LWP-5.06 does this:
> 
>     if ($tag eq 'meta') {
>         my $key = $attr->{'http-equiv'};
>         if (!defined $key) {
>             return unless $attr->{'name'};
>             $key = "X-Meta-\u$attr->{'name'}";
>         }
>         $self->{'header'}->push_header($key => $attr->{content});
> 

Just a thought. I had an idea that some HTTP headers were allowed to 
appear more than once, such as PICS and Cache-Control. So using an 
assocative array will lose all but the last one.

Andrew Daviel