Thread Net::HTTP interner Puffer
(14 answers)
Opened by rosti at 2011-03-19 23:01
Man kann bei LWP::UserAgent den Header explizit setzen:
Code (perl): (dl
)
1 2 3 4 5 6 .. my $service="http://www.test.org"; my $header=HTTP::Headers->new('Accept-Encoding'=>'deflate'); my $req=HTTP::Request('GET',$service,$header); my $res=$lwp_user_agent->request($req); ... |