On 11-09-2014 04:37, Hongliang Wang wrote:
ACK
2. We need 2 parts: downloaded size, and total size. When
eval('1024/2048') we'll get only the percentage without total size
information. I'll use regular expression to make here clearer.
ACK.
Also, the second number (i.e. "total") may be "-" when the HTTP header
"Content-Length" is not available. This patch needs to check that case
as well.