[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/VFS - VFSRequest.py:1.1.2.5

Shane Hathaway shane@cvs.zope.org
Thu, 11 Apr 2002 12:34:16 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/VFS
In directory cvs.zope.org:/tmp/cvs-serv13902/VFS

Modified Files:
      Tag: Zope3-Server-Branch
	VFSRequest.py 
Log Message:
- Fixed status code handling.  For HTTP, default to a special 599, which
means nothing set the status code.  Added an internalError() call, which
should tell the client that the server failed to handle an exception.

- Fixed the retry mechanism.  Because the status code check was disabled
in testHTTPServer, no one knew that retry wasn't working at all.
(tsk, tsk!)  Had to add another argument to request constructors.


=== Zope3/lib/python/Zope/Publisher/VFS/VFSRequest.py 1.1.2.4 => 1.1.2.5 ===
 
 
-    def __init__(self, body_instream, outstream, environ):
+    def __init__(self, body_instream, outstream, environ, response=None):
         """ """
-        super(VFSRequest, self).__init__(body_instream, outstream, environ)
+        super(VFSRequest, self).__init__(
+            body_instream, outstream, environ, response)
 
         self._environ = environ
         self.method = ''