[Checkins] SVN: GenericSetup/trunk/tool.py Return an empty string so the publisher sets a proper Content-Length header and stops the browser from waiting forever for a full response

Wichert Akkerman wichert at wiggy.net
Sun Jul 8 12:32:01 EDT 2007


Log message for revision 77632:
  Return an empty string so the publisher sets a proper Content-Length header and stops the browser from waiting forever for a full response

Changed:
  U   GenericSetup/trunk/tool.py

-=-
Modified: GenericSetup/trunk/tool.py
===================================================================
--- GenericSetup/trunk/tool.py	2007-07-08 16:27:57 UTC (rev 77631)
+++ GenericSetup/trunk/tool.py	2007-07-08 16:32:01 UTC (rev 77632)
@@ -713,6 +713,7 @@
 
         RESPONSE.redirect('%s/manage_snapshots?manage_tabs_message=%s'
                          % (self.absolute_url(), 'Snapshot+created.'))
+        return ""
 
     security.declareProtected(ManagePortal, 'manage_showDiff')
     manage_showDiff = PageTemplateFile('sutCompare', _wwwdir)



More information about the Checkins mailing list