version 1.43, 2005/10/05 11:21:56
|
version 1.44, 2005/10/17 16:06:27
|
Line 17 from threading import Thread
|
Line 17 from threading import Thread
|
import shutil |
import shutil |
import tempfile |
import tempfile |
import os.path |
import os.path |
|
import urllib |
|
|
import time |
import time |
try: |
try: |
Line 523 class versionedFileObject(File):
|
Line 523 class versionedFileObject(File):
|
|
|
self.content_type="application/octet-stream" |
self.content_type="application/octet-stream" |
#self.REQUEST.RESPONSE.redirect(self.absolute_url()) |
#self.REQUEST.RESPONSE.redirect(self.absolute_url()) |
self.REQUEST.RESPONSE.write(self.index_html()) |
txt=urllib.urlopen(self.absolute_url()).read() |
|
self.REQUEST.RESPONSE.write(txt) |
#self.REQUEST.RESPONSE.write("bl") |
#self.REQUEST.RESPONSE.write("bl") |
self.REQUEST.close() |
self.REQUEST.close() |
|
|