[Zope3-checkins] CVS: Zope3/src/zope/publisher/interfaces -
xmlrpc.py:1.4
Jim Fulton
cvs-admin at zope.org
Fri Nov 21 12:12:40 EST 2003
Update of /cvs-repository/Zope3/src/zope/publisher/interfaces
In directory cvs.zope.org:/tmp/cvs-serv491/src/zope/publisher/interfaces
Modified Files:
xmlrpc.py
Log Message:
Added a request type so we can register views and resources.
We still seem to need the presentation type, for reasons I don't quite
understand.
=== Zope3/src/zope/publisher/interfaces/xmlrpc.py 1.3 => 1.4 ===
--- Zope3/src/zope/publisher/interfaces/xmlrpc.py:1.3 Mon Aug 4 19:19:25 2003
+++ Zope3/src/zope/publisher/interfaces/xmlrpc.py Fri Nov 21 12:12:40 2003
@@ -21,10 +21,7 @@
from zope.component.interfaces import IPresentation
from zope.publisher.interfaces import IPublication
from zope.publisher.interfaces import IPublishTraverse
-
-
-class IXMLRPCPresentation(IPresentation):
- """XMLRPC presentations are for interaction with user's"""
+from zope.publisher.interfaces.http import IHTTPRequest
class IXMLRPCPublisher(IPublishTraverse):
@@ -41,6 +38,13 @@
Returns (ob, steps_reversed).
"""
+class IXMLRPCPresentation(IPresentation):
+ """XML-RPC presentation
+ """
class IXMLRPCView(IXMLRPCPresentation, IView):
"""XMLRPC View"""
+
+class IXMLRPCRequest(IHTTPRequest):
+ """XML-RPC Request
+ """
More information about the Zope3-Checkins
mailing list