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