#!/friends/.rakubrew/shims/raku use Data::Dump; use HTTP::UserAgent; my $url = 'https://www.exmaple.org'; my $ua = HTTP::UserAgent.new; my $req = HTTP::Request.new(GET => $url); my $res = $ua.request($req); say Dump($res.header);