0

I have multiple files serialized in single file. I want to upload each file by multipart request. To send file in requests library we can put stream -- for example open('file.txt', 'rb'), but I want to create limited stream from my currently opened stream. Is it possible?

Size of files isn't problem I have also saved sizes of files. Now I create new file by saving length of bytes in fileStorage and it works.

M. Liver
  • 97
  • 6

0 Answers0