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

Viktorija Zaksiene ryzaja@codeworks.lt
Tue, 22 Jul 2003 05:34:12 -0400


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

Modified Files:
	http.py 
Log Message:
Added http_transaction attribute to the HTTPResponse. It is used for the
logging instead of _outstream attribute because _outstream may not know
about the user.


=== Zope3/src/zope/publisher/interfaces/http.py 1.15 => 1.16 ===
--- Zope3/src/zope/publisher/interfaces/http.py:1.15	Mon Apr 28 09:14:21 2003
+++ Zope3/src/zope/publisher/interfaces/http.py	Tue Jul 22 05:33:37 2003
@@ -367,3 +367,9 @@
         """This convinience function determines the character set based on the
            HTTP header information.
         """
+
+    def setHTTPTransaction(http_transaction):
+        """Sets an HTTP transaction.
+
+        Returns an HTTPTask or None. It is used for logging.
+        """