version 1.43, 2005/10/05 11:21:56
|
version 1.47, 2005/10/19 11:47:47
|
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()) |
|
#txt=urllib.urlopen(self.absolute_url()).read() |
|
#self.REQUEST.RESPONSE.write(txt) |
self.REQUEST.RESPONSE.write(self.index_html()) |
self.REQUEST.RESPONSE.write(self.index_html()) |
#self.REQUEST.RESPONSE.write("bl") |
|
|
|
|
|
self.REQUEST.close() |
self.REQUEST.close() |
|
|
def downloadLocked(self): |
def downloadLocked(self): |