Commit 017c4630 authored by Andreas Jung's avatar Andreas Jung

- 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!
parent c39f2f32
...@@ -26,7 +26,10 @@ class FTPResponse(ZServerHTTPResponse): ...@@ -26,7 +26,10 @@ class FTPResponse(ZServerHTTPResponse):
""" """
def __str__(self): 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): def outputBody(self):
pass pass
......
...@@ -19,6 +19,10 @@ Zope Changes ...@@ -19,6 +19,10 @@ Zope Changes
- Collector #166: ObjectManger.all_meta_types() implemented only - Collector #166: ObjectManger.all_meta_types() implemented only
an incomplete filter based on interfaces. an incomplete filter based on interfaces.
- 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 2.5.1 beta 1 Zope 2.5.1 beta 1
Bugs Fixed Bugs Fixed
......
...@@ -26,7 +26,10 @@ class FTPResponse(ZServerHTTPResponse): ...@@ -26,7 +26,10 @@ class FTPResponse(ZServerHTTPResponse):
""" """
def __str__(self): 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): def outputBody(self):
pass pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment