Help for this page

Select Code to Download


  1. or download this
    my @field_names = $response->headers->header_field_names;
    print "$_ => ", $response->header($_), "\n" for @field_names;
    
  2. or download this
    $response->headers->scan(sub {
        my ($key, $value) = @_;
        print "$key => $value\n";
    });