Hi! I'll appreciate any help. Thank you!
I'm trying to download file by chunks.
URL: https://content.dropboxapi.com/2/files/download
File size: 1200 bytes
First time (after creation in dropbox) I read it with 3 GET requests, which contain corresponding header fields:
Range: bytes=0-499
Response comes with first 500 bytes of data
Range: bytes=500-999
Response comes with next 500 bytes of data
Range: bytes=1000-1199
Response comes with last 200 bytes of data
Everything is OK.
But when I try to download this file again, something goes wrong:
Range: bytes=0-499
Response comes with last 200 bytes of data
Content-range field in response header: 1000-1199/1200
Range: bytes=500-999
Response comes with last 200 bytes of data
Content-range field in response header: 1000-1199/1200
Range: bytes=1000-1199
Response comes with last 200 bytes of data
Content-range field in response header: 1000-1199/1200
What's the problem? Can I do something with this?
P.S. Actually file size is around 1.2 MB, and chunk size is 512 kB.