Re: HTTP Tiny Range Header

2012-05-28 Thread raphael()
On Mon, May 28, 2012 at 8:37 PM, Rob Dixon wrote: > On 28/05/2012 15:15, raphael() wrote: > > > > I am trying to use HTTP::Tiny module to download file with RANGE > attribute. > > However I cannot accomplish it. > > > > In WWW::Mechanize the code I use is simple > > my $file_obj = $ua->get( $url,

Re: HTTP Tiny Range Header

2012-05-28 Thread Rob Dixon
On 28/05/2012 15:15, raphael() wrote: > > I am trying to use HTTP::Tiny module to download file with RANGE attribute. > However I cannot accomplish it. > > In WWW::Mechanize the code I use is simple > my $file_obj = $ua->get( $url, 'Range' => sprintf("bytes=%s-%s", > $file_size, $content_length

HTTP Tiny Range Header

2012-05-28 Thread raphael()
Hello, I am trying to use HTTP::Tiny module to download file with RANGE attribute. However I cannot accomplish it. In WWW::Mechanize the code I use is simple my $file_obj = $ua->get( $url, 'Range' => sprintf("bytes=%s-%s", $file_size, $content_length - 1), ) or die; But I want to use the Tiny Mo