Closed benoitbryon closed 9 years ago
I am not sure why you want it to be decoded? If you decode it it will not be a stream anymore and everything will be store in memory? Isn't it?
I do think we want it to be decoded. And yes we need it to be a stream/iterator/generator. I think I found a way to make it right, using StringIteratorIO. And it looks like to unlock #88... PR coming soon...
As mentionned in requests documentation:
Then see https://github.com/benoitbryon/django-downloadview/blob/1.6/django_downloadview/files.py#L242 =>
HTTPFile
proxiesrequest.raw
i.e. undecoded urllib3 file. Should a "decoded" one.