iOS

downloadProgress block in downlo

2019-01-22  本文已影响9人  胡萝卜须摇头玩

The reasoning behind it would be that there is no "content-length" header and thus there can not be a fractionCompleted value, when the total number of bytes is unknown.

eg:
Image url: https://gratisography.com/fullsize/gratisography-cash-bunny.jpg

No "content-length" in response headers
上一篇下一篇

猜你喜欢

热点阅读