mozilla/mozdownload — pull request #198 by Nebelhom (2014-01-28 21:05:46+00:00)
Title: Allow download even if content-length header is missing (#194)

This PR addresses Issue #194

Having researched the topic a bit, it looks like it is not really possible to obtain the file size in a practical and sensible fashion when the `content-length` header is missing and the `transfer-encoding` header is `chunked`.

So, here is just a work around to avoid that error.