asks icon indicating copy to clipboard operation
asks copied to clipboard

streaming upload

Open alekibango opened this issue 7 years ago • 3 comments

if i read the code correctly, it is not possible to make PUT request and stream data into it.

But that would be really nice to have. Streaming by chunks of data or from file-like object is really a must for uploading large files...

alekibango avatar Oct 05 '18 20:10 alekibango

You are correct and this is something that needs to be addressed quite quickly. I'll handle it this weekend.

It's a surprisingly rare use case in terms of programmatic use! I have been long fingering this for a while. I'll make it a priority for you.

theelous3 avatar Oct 05 '18 20:10 theelous3

Thanks!

You would be surprized how many libraries ignore such corner cases.

Uploading large files using PUT (which is the only sane method) is painfull or impossible also on server side. They usually think large file is around 100MB. Most pythonic web servers never try uploading file having size over 2 GB.

But i am uploading/accepting at least tens of TB daily.... :) it really makes a difference to me.

alekibango avatar Oct 08 '18 16:10 alekibango

Is there any update on this? I have a similar use-case.

derfred avatar Jun 17 '20 15:06 derfred