[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/recorder/__init__.py RecordingHTTPServer now should use WSGIPublisherApplication

Dmitry Vasiliev dima at hlabs.spb.ru
Thu Oct 6 09:31:20 EDT 2005


Log message for revision 38788:
  RecordingHTTPServer now should use WSGIPublisherApplication
  instead of HTTPPublicationRequestFactory
  

Changed:
  U   Zope3/trunk/src/zope/app/recorder/__init__.py

-=-
Modified: Zope3/trunk/src/zope/app/recorder/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/recorder/__init__.py	2005-10-06 13:09:25 UTC (rev 38787)
+++ Zope3/trunk/src/zope/app/recorder/__init__.py	2005-10-06 13:31:20 UTC (rev 38788)
@@ -20,11 +20,12 @@
 
 import thread
 import threading
+
 import transaction
 import ZODB.MappingStorage
 from ZODB.POSException import ConflictError
 from BTrees.IOBTree import IOBTree
-from zope.app.publication.httpfactory import HTTPPublicationRequestFactory
+
 from zope.app.server.servertype import ServerType
 from zope.server.http.commonaccesslogger import CommonAccessLogger
 from zope.server.http.wsgihttpserver import WSGIHTTPServer
@@ -33,7 +34,9 @@
 from zope.server.http.httptask import HTTPTask
 from zope.publisher.publish import publish
 
+from zope.app.wsgi import WSGIPublisherApplication
 
+
 class RecordingHTTPTask(HTTPTask):
     """An HTTPTask that remembers the response as a string."""
 
@@ -263,6 +266,6 @@
 requestStorage = RequestStorage()
 
 recordinghttp = ServerType(RecordingHTTPServer,
-                           HTTPPublicationRequestFactory,
+                           WSGIPublisherApplication,
                            CommonAccessLogger,
                            8081, True)



More information about the Zope3-Checkins mailing list