version 1.46, 2005/10/18 15:45:02
|
version 1.47, 2005/10/19 11:47:47
|
Line 522 class versionedFileObject(File):
|
Line 522 class versionedFileObject(File):
|
self.REQUEST.RESPONSE.setHeader("Content-Type","application/octet-stream") |
self.REQUEST.RESPONSE.setHeader("Content-Type","application/octet-stream") |
|
|
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() |
#txt=urllib.urlopen(self.absolute_url()).read() |
#self.REQUEST.RESPONSE.write(txt) |
#self.REQUEST.RESPONSE.write(txt) |
#self.REQUEST.RESPONSE.write("bl") |
self.REQUEST.RESPONSE.write(self.index_html()) |
|
|
|
|
|
|
self.REQUEST.close() |
self.REQUEST.close() |
|
|
def downloadLocked(self): |
def downloadLocked(self): |