[Zope-Checkins] CVS: Zope/ZServer - FTPResponse.py:1.10
Andreas Jung
andreas@digicool.com
Thu, 14 Feb 2002 09:56:53 -0500
Update of /cvs-repository/Zope/ZServer
In directory cvs.zope.org:/tmp/cvs-serv23092/ZServer
Modified Files:
FTPResponse.py
Log Message:
- FTP: Downloading files through FTP has been broken since 2.4.0
because the downloaded file has been stored with a HTTP
header at the beginning of the file. Fixed!
=== Zope/ZServer/FTPResponse.py 1.9 => 1.10 ===
def __str__(self):
- return ZServerHTTPResponse.__str__(self)
+# return ZServerHTTPResponse.__str__(self)
+ # ZServerHTTPResponse.__str__(self) return HTTP headers
+ # Why should be send them to the FTP client ??? (ajung)
+ return ''
def outputBody(self):
pass