web/application.py
changeset 4897 e402e0b32075
parent 4709 6a71fc0b4274
child 4913 083b4d454192
--- a/web/application.py	Fri Mar 12 15:01:52 2010 +0100
+++ b/web/application.py	Fri Mar 12 15:05:33 2010 +0100
@@ -393,7 +393,7 @@
         self.exception(repr(ex))
         req.set_header('Cache-Control', 'no-cache')
         req.remove_header('Etag')
-        req.message = None
+        req.reset_message()
         req.reset_headers()
         if req.json_request:
             raise RemoteCallFailed(unicode(ex))