The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Archive::Har::Entry::Header - Represents a single http header object for a request or response inside the HTTP Archive

VERSION

Version 0.04

SYNOPSIS

    use Archive::Har();

    my $http_archive_string = '"log": { "version": "1.1", .... ';
    my $har = Archive::Har->new();
    $har->string($http_archive_string);
    foreach my $entry ($har->entries()) {
        my $request = $entry->request();
        foreach my $header ($request->headers()) {
                print "Name: " . $header->name() . "\n";
                print "Value: " . $header->value() . "\n";
                print "Comment: " . $header->comment() . "\n";
        }
    }

SUBROUTINES/METHODS

name

returns the name of the http header

value

returns the value of the http header

comment

returns the comment about the header