creating tar file and streaming it over HTTP?

r0g aioe.org at technicalbloke.com
Wed Jan 6 22:52:52 CET 2010


pbienst wrote:
> I would like to bundle up a number of files in a tar file and send it
> over a HTTP connection, but I would like to do this without creating
> the tar file on disk first.
> 

Stringio lets you treat a strings as a files...

http://docs.python.org/library/stringio.html

Roger.



More information about the Python-list mailing list