The zip file can't fit in a memory buffer (e.g. io.BytesIO) and it won't fit in disk as well. So it must be sent as it is generated
The output of zipfile.ZipFile is a .write() -able fileobj.
The input of urllib3.request(): body parameter (i guess an iterable or .read() -able object are the only options here)
- The input of requests.post(): data parameter (same as urllib3.request)
The problem is that I can't seem to connect the output of ZipFile and the input of urllib3.request() (body parameter) or requests.post() (data parameter)