Content length of a response in treq

Mehtab Zafar <[email protected]> Sun, 10 Feb 2019 23:52:56 +0530
Newsgroups gmane.comp.python.twisted
Message-ID <CAOSmU6Qo5X8PFFEh0ALmaPsVCoyNrSkaQ1QbDup8JVgbg8_5fg@mail.gmail.com>
Hi,
I am trying to use treq for a project in which I am also going to generate
a progress bar for the downloading session. But the problem I am facing is
that I can't find a way to get the content length header from the response.

The "response.length"  gives me "unknown size".So I there a way I can get
the length for all types of content?

Thanks

_______________________________________________
Twisted-Python mailing list
[email protected]
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python