[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/HTTP - PublisherHTTPTask.py:1.1.2.2

Stephan Richter srichter@cbu.edu
Thu, 4 Apr 2002 06:45:23 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/Server/HTTP
In directory cvs.zope.org:/tmp/cvs-serv21650/lib/python/Zope/Server/HTTP

Modified Files:
      Tag: Zope3-Server-Branch
	PublisherHTTPTask.py 
Log Message:
Worked some more on FTP, especially in regards with the Publisher.

- Finally we can get rid of the medusa base. I think I have extracted all
  of the interesting code.

- Started on a PublisherFileSystem. A few methods might work, but most of 
  the FS methods are not hooked up yet.

- Started writing VFS Publisher hooks.

- Added the FTPServer to the startup registry. It comes up, but do not 
  expect it to work, since no views have been written for VFS yet.


=== Zope3/lib/python/Zope/Server/HTTP/PublisherHTTPTask.py 1.1.2.1 => 1.1.2.2 ===
         server = channel.server
 
-        while path and path[0] == '/':
+        while path and path.startswith('/'):
             path = path[1:]
 
         env = {}