[Checkins] SVN: zc.resourcelibrary/trunk/src/zc/resourcelibrary/publication.py Revert a bit of r129082 mistakenly committed

Brian Sutherland cvs-admin at zope.org
Thu Jan 31 12:47:07 UTC 2013


Log message for revision 129118:
  Revert a bit of r129082 mistakenly committed

Changed:
  U   zc.resourcelibrary/trunk/src/zc/resourcelibrary/publication.py

-=-
Modified: zc.resourcelibrary/trunk/src/zc/resourcelibrary/publication.py
===================================================================
--- zc.resourcelibrary/trunk/src/zc/resourcelibrary/publication.py	2013-01-30 16:13:34 UTC (rev 129117)
+++ zc.resourcelibrary/trunk/src/zc/resourcelibrary/publication.py	2013-01-31 12:47:06 UTC (rev 129118)
@@ -101,7 +101,7 @@
     def _implicitResult(self, body):
         #figure out the content type
         content_type = self.getHeader('content-type')
-        if content_type is None and self._status != 304:
+        if content_type is None:
             if isHTML(body):
                 content_type = 'text/html'
             else:



More information about the checkins mailing list