[Zope-Checkins] CVS: Zope/ZServer - FTPRequest.py:1.11.32.1
Shane Hathaway
shane@digicool.com
Thu, 4 Oct 2001 16:55:24 -0400
Update of /cvs-repository/Zope/ZServer
In directory cvs.zope.org:/tmp/cvs-serv24410
Modified Files:
Tag: ComponentArchitecture-branch
FTPRequest.py
Log Message:
This module (which belongs in ZPublisher, doesn't it?) now uses a method
called _ftp_traverse instead of __bobo_traverse__.
=== Zope/ZServer/FTPRequest.py 1.11 => 1.11.32.1 ===
return path
+ def _addDefaultView(self, object, path):
+ """
+ Returns (object, entry_name).
+ """
+ if self['REQUEST_METHOD'] == 'PUT':
+ return object, 'PUT'
+ else:
+ return object, None
-
-
-
-
+ def _traverseName(self, object, entry_name, m_name="_ftp_traverse"):
+ """
+ Returns object, roles.
+ """
+ return HTTPRequest._traverseName(self, object, entry_name, m_name)