Net::HTTP to resume file download

I am using Net::HTTP to download http files. All is working fine.
However, I would like to also allow interrupted downloads to continue
using the HTTP Range header, similar to what wget or what urllib2 in
python can do.

How do I go around doing so with Net::HTTP?