mikedeboer / jsDAV

jsDAV allows you to easily add WebDAV support to a NodeJS application. jsDAV is meant to cover the entire standard, and attempts to allow integration using an easy to understand API.
http://www.mikedeboer.nl
MIT License
681 stars 159 forks source link

http range streaming fix #67

Closed 0x7f closed 11 years ago

0x7f commented 11 years ago

Hi Mike, I had problems with range based http requests and figured out that the start and end arguments were the problem. I am not sure whether this is the best solution, but using end instead of the offset as the end makes more sense to me. Same goes for that swap-test. What do you think? Cheers, Max

mikedeboer commented 11 years ago

Hi Max, I will check it out and test it with some scenarios (like streaming HTML5 video)

0x7f commented 11 years ago

Hi Mike, cool, thanks! Btw, i used a "wget -c http://..." to continue a partial file transfer from the jsDAV server to reproduce the error.