Thanks for your bug report. The most likely reason for this is that the content-length is not always included in the header reply from the server. Did you check to see if the content-length is actually in the header? eg. by opening the link in a browser and using developer tools to see the header details?