[Zope3-checkins] CVS: Zope3/src/zope/server/http - publisherhttpserver.py:1.5

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


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

Modified Files:
	publisherhttpserver.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/server/http/publisherhttpserver.py 1.4 => 1.5 ===
--- Zope3/src/zope/server/http/publisherhttpserver.py:1.4	Thu Jul  3 15:37:39 2003
+++ Zope3/src/zope/server/http/publisherhttpserver.py	Tue Jul 22 05:33:43 2003
@@ -44,6 +44,7 @@
         request = self.request_factory(instream, task, env)
         response = request.response
         response.setHeaderOutput(task)
+        response.setHTTPTransaction(task)
         publish(request)
 
 class PMDBHTTPServer(PublisherHTTPServer):