creating tar file and streaming it over HTTP?
peter.bienstman at gmail.com
Sat Jan 9 14:19:00 CET 2010
OK, thanks to the feedback from everyone I got the PUT from a client
to the WSGI server working.
I'm now trying to go the other way around: use a tar stream in one of
the functions in the WSGI server in order to send files to the client.
Problem is that the WSGI specs expects an iterator as return value for
streaming, whereas TarFile needs to write to a file obj.
Is there any way I can get these two to work together?
More information about the Python-list