set_range(r, e = nil)
Instance Public methods
Sets the HTTP Range: header. Accepts either a Range object as a single argument, or a beginning index and a length from that index. Example:
1 2 | req.range = ( 0 .. 1023 ) req.set_range 0 , 1023 |
Please login to continue.