Dim requestScrape As HttpWebRequest
'...
Dim resp As HttpWebResponse = requestScrape.GetResponse()
dim L = resp.ContentLength
我获取 http://www.chuibin.com 这类的页面时,上面代码的这个resp.ContentLength值为-1
我想取得下载进度,这个resp.ContentLength=-1就不能进行设置进度,这个该怎么办
Transfer-Encoding:chunked
不发送Content-Length响应头
显示进度条,再开个线程吧