ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-talk
ruby-talk
Re: Download resume with NET::HTTP
by Alex Dj other posts by this author
May 9 2008 8:34AM messages near this date
Re: Download resume with NET::HTTP | Delete every other value in an array
Thanks Marcelo,

>  In HTTP 1.1 range has the form "[lower]-[upper]", so "[lower]-" is
>  valid.  I'm not sure what range= takes, you get to try it :-)

I found that its "Range: bytes=10000-", something like this. I wonder if 
I can use this header to download the same file from different mirrors 
i.e. have several
req = Net::HTTP::Get.new(path)
but with  different ranges and write them to the same file with random 
access. Would it be a right technique for this idea?

Thanks Alex

-- 
Posted via http://www.ruby-forum.com/.
Thread:
Alex Dj
Marcelo
Alex Dj

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved