> I'm not familiar with pythons http lib so I don't know how efficient > that is, I know that the PHP Snoopy lib that we use would read the > *entire* file into memory before writing into the socket which may > just work in most cases but hurts my old fashioned sensibilities.
Python's httplib by default would do something similar to this. However, we're going to be moving to Twisted for the FTP stuff in ccPublisher, so we'll have access to its full suite of network classes, which include support for efficient streaming from point a to b (ie, read X bytes from the disk, send it to the socket, repeat). I'd say if you make it "right" using Python's built-in httplib now, we can worry about making it "fast" later. -- Nathan R. Yergler Senior Software Engineer Creative Commons http://wiki.creativecommons.org/User:NathanYergler _______________________________________________ cc-devel mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/cc-devel
