[Zope3-checkins] CVS: Zope3/src/zope/publisher/interfaces - http.py:1.19

Philipp von Weitershausen philikon at philikon.de
Wed Mar 17 13:24:48 EST 2004


Update of /cvs-repository/Zope3/src/zope/publisher/interfaces
In directory cvs.zope.org:/tmp/cvs-serv24549/publisher/interfaces

Modified Files:
	http.py 
Log Message:


Have IHTTPPublisher extend IPublishTraverse, just like all the other
I*Publisher interfaces.




=== Zope3/src/zope/publisher/interfaces/http.py 1.18 => 1.19 ===
--- Zope3/src/zope/publisher/interfaces/http.py:1.18	Fri Nov 21 12:12:36 2003
+++ Zope3/src/zope/publisher/interfaces/http.py	Wed Mar 17 13:24:47 2004
@@ -21,6 +21,7 @@
 
 from zope.publisher.interfaces import IApplicationRequest
 from zope.publisher.interfaces import IApplicationResponse
+from zope.publisher.interfaces import IPublishTraverse
 
 from zope.component.interfaces import IPresentation
 from zope.component.interfaces import IResource
@@ -197,13 +198,8 @@
         """
 
 
-class IHTTPPublisher(Interface):
-
-    def publishTraverse(request, name):
-        """Lookup a name
-
-        The request argument is the publisher request object.
-        """
+class IHTTPPublisher(IPublishTraverse):
+    """HTTP Publisher"""
 
 
 # XXX Should we extend IRequest?




More information about the Zope3-Checkins mailing list