http 分片取数据 (断点续传)
请教:
在http 协议下载文件时候。
下载数据,如果连续每次 下载固定长度 分片数据是可以下载正确的数据的。
但是:如果我在第一次下载了第一片数据完成后中断,记录位置到文件。
而我第二次重新 请求时候 想直接 从第二片下载时候后,确返回从第一片位置开始数据。(而不是第二片位置开始的数据)。
请问是否支持 从某段 分片取数据。
请求信息如下:
========================================================================
GET /WebContent/down?down=app&posSerialNo=B1803270 HTTP/1.1
Accept: */*
Accept-Language: zh-cn
Referer: *****
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; WPS; TencentTraveler )
Host: *****
Content-Range: bytes 204800-307200/433769
Keep-Alive: 200
Connection: Keep-Alive
Cache-Control: no-cache
========================================================================