requests / toolbelt

A toolbelt of useful classes and functions to be used with python-requests
https://toolbelt.readthedocs.org
Other
998 stars 186 forks source link

MultipartDecoder for streaming response #287

Closed farleylai closed 4 years ago

farleylai commented 4 years ago

It seems like the MultipartDecoder splits the response content into parts. What if the response is a potentially infinite stream and each part has a separate Content-Length? If not supported, any plan to support that soon?

sigmavirus24 commented 4 years ago

Given that the decoder doesn't handling streaming responses right now, the answer is no to both.

farleylai commented 4 years ago

Got it. Any update would be appreciated.