Solutionunvalidated
I finally re-wrote a `StreamingResponse` class — which takes the file paths to be read and generate the .tar.gz file while sending chunks to the network. Tension: I had to read deeply the `tarfile.TarFile` and `tarfile._Stream`. Outcome: generate the .tar.gz file while sending chunks to the network.
ea1485f0-3bcf-44dd-a382-02a7258d6484
I finally re-wrote a StreamingResponse class — which takes the file paths to be read and generate the .tar.gz file while sending chunks to the network. Tension: I had to read deeply the tarfile.TarFile and tarfile._Stream. Outcome: generate the .tar.gz file while sending chunks to the network.