[Checkins] SVN: Sandbox/philikon/five.publication/trunk/five/publication/request.py Another legacy property, this time in the response

Philipp von Weitershausen philikon at philikon.de
Fri Aug 3 14:29:56 EDT 2007


Log message for revision 78559:
  Another legacy property, this time in the response
  

Changed:
  U   Sandbox/philikon/five.publication/trunk/five/publication/request.py

-=-
Modified: Sandbox/philikon/five.publication/trunk/five/publication/request.py
===================================================================
--- Sandbox/philikon/five.publication/trunk/five/publication/request.py	2007-08-03 18:19:36 UTC (rev 78558)
+++ Sandbox/philikon/five.publication/trunk/five/publication/request.py	2007-08-03 18:29:56 UTC (rev 78559)
@@ -23,6 +23,9 @@
         #XXX
         self.maybe_webdav_client = False
 
+    def _createResponse(self):
+        return BrowserResponse()
+
     def get(self, key, default=None):
         if key in self.other:
             return self.other[key]
@@ -74,3 +77,10 @@
         if value is marker:
             raise AttributeError(key)
         return value
+
+class BrowserResponse(zope.publisher.browser.BrowserResponse):
+
+    @property
+    def headers(self):
+        return self._headers
+



More information about the Checkins mailing list