[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/HTTP - HTTPRequest.py:1.1.2.17
Andreas Jung
andreas@digicool.com
Thu, 10 Jan 2002 14:06:37 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/HTTP
In directory cvs.zope.org:/tmp/cvs-serv11108/Zope/Publisher/HTTP
Modified Files:
Tag: Zope-3x-branch
HTTPRequest.py
Log Message:
moved implementation of IViewRequest to BaseRequest while keeping a default
viewtype in HTTPRequest
=== Zope3/lib/python/Zope/Publisher/HTTP/HTTPRequest.py 1.1.2.16 => 1.1.2.17 ===
"""
- __implements__ = IHTTPCredentials
+ __implements__ = BaseRequest.__implements__, IHTTPCredentials
_auth = None # The value of the HTTP_AUTHORIZATION header.
@@ -476,28 +476,8 @@
self.response.setStatus(401)
- # Implementation methods for interface
- # Zope.ComponentArchitecture.IViewService.IViewRequest
-
- __skin = ''
-
- def getViewSkin(self):
- '''See interface IViewRequest'''
-
- return self.__skin
-
-
- def setViewSkin(self, skin):
- ''' add the view skin '''
-
- self.__skin = skin
-
-
- def getViewType(self):
- '''See interface IViewRequest'''
-
- return IBrowserPublisher
-
+ # _viewtype is overridden from the BaseRequest to implement IBrowserPublisher
+ _viewtype = IBrowserPublisher
base64 = None