Re: Download resume with NET::HTTP
by Marcelo other posts by this author
May 9 2008 8:04AM messages near this date
Download resume with NET::HTTP
|
Re: Download resume with NET::HTTP
On Fri, May 9, 2008 at 8:18 AM, Alex Dj <djioev@[...].com> wrote:
> Net::HTTP.start("server.com") { |http|
> response = http.request_get('/some/path') {|response|
create your request by hand:
req = Net::HTTP::Get.new(path)
req.range = ...
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 :-)
Marcelo
Thread:
Alex Dj
Marcelo
Alex Dj
|