[Zope-Checkins] CVS: Zope/ZServer - FTPResponse.py:1.7.36.2

Andreas Jung andreas@digicool.com
Thu, 14 Feb 2002 09:59:33 -0500


Update of /cvs-repository/Zope/ZServer
In directory cvs.zope.org:/tmp/cvs-serv24190/ZServer

Modified Files:
      Tag: Zope-2_4-branch
	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.7.36.1 => 1.7.36.2 ===
 
     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