Help for this page

Select Code to Download


  1. or download this
    print $ENV{HTTP_CONTENT_RANGE};
    
  2. or download this
    use warnings;
    use strict;
    ...
    print Dumper \%ENV;
    print '</pre>';
    print "<br>Content-Range: ",$ENV{HTTP_CONTENT_RANGE};
    
  3. or download this
    use warnings;
    use strict;
    ...
    $req->header( 'Content-Range' => 'bytes 0-499/500' );
    my $resp = $ua->request($req);
    print  $resp->{_content};