Re: Getting file in ranges using KIO

2015-07-22 Thread Albert Astals Cid
El Dijous, 23 de juliol de 2015, a les 10:52:19, saheb preet singh va escriure: > On Wed, Jul 22, 2015 at 10:01 PM, Thomas Lübking > wrote: > > This looks like the metadata changed > > > > https://git.reviewboard.kde.org/r/117508/diff/ > > > > Older KIO versions seem to have operated on "resume

Re: Getting file in ranges using KIO

2015-07-22 Thread Thomas Lübking
On Donnerstag, 23. Juli 2015 07:22:19 CEST, saheb preet singh wrote: I tried using resume and resume_until instead of range and range_end, but its not working. "range-start" and "range-end" - just saying in case you accidentally tried with "resume-start" and "resume-until" ;-) => which KIO

Re: Getting file in ranges using KIO

2015-07-22 Thread saheb preet singh
On Wed, Jul 22, 2015 at 10:01 PM, Thomas Lübking wrote: > This looks like the metadata changed > > https://git.reviewboard.kde.org/r/117508/diff/ > > Older KIO versions seem to have operated on "resume" and "resume_until" > I tried using resume and resume_until instead of range and range_end, b

Re: Getting file in ranges using KIO

2015-07-22 Thread saheb preet singh
On Wed, Jul 22, 2015 at 7:10 PM, Daniel Nicoletti wrote: > I added support for KIO HTTP range headers > around 8 years ago for a download accelerator, > KGet instead of setting start and end simply kills > the connection once it has all data it wants and > just set the start part. > So I really d

Re: Getting file in ranges using KIO

2015-07-22 Thread Thomas Lübking
This looks like the metadata changed https://git.reviewboard.kde.org/r/117508/diff/ Older KIO versions seem to have operated on "resume" and "resume_until" => which KIO version do you use? Cheers, Thomas Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Getting file in ranges using KIO

2015-07-22 Thread Daniel Nicoletti
I added support for KIO HTTP range headers around 8 years ago for a download accelerator, KGet instead of setting start and end simply kills the connection once it has all data it wants and just set the start part. So I really don't know if this code still work, and it also depends on the server si

Getting file in ranges using KIO

2015-07-22 Thread saheb preet singh
Hi, I am Saheb Preet Singh, a KDE GSOC student. I am working on the okular project. I was working on the linearization support which allows to open the files in the reader prior to its complete download. I am having some queries related to KIO. I am using KIO::get method to get the contents of t