[Python-apps-commits] r4308 - in packages/trac/trunk/debian (3 files)
debacle at users.alioth.debian.org
debacle at users.alioth.debian.org
Wed Dec 16 23:14:32 UTC 2009
Date: Wednesday, December 16, 2009 @ 23:14:31
Author: debacle
Revision: 4308
Fix for #561406.
Added:
packages/trac/trunk/debian/patches/70_cache_control_typo.dpatch
Modified:
packages/trac/trunk/debian/changelog
packages/trac/trunk/debian/patches/00list
Modified: packages/trac/trunk/debian/changelog
===================================================================
--- packages/trac/trunk/debian/changelog 2009-12-16 22:18:58 UTC (rev 4307)
+++ packages/trac/trunk/debian/changelog 2009-12-16 23:14:31 UTC (rev 4308)
@@ -1,3 +1,11 @@
+trac (0.11.6-2) UNRELEASED; urgency=low
+
+ * Fix a typo in tracd HTTP header, thanks to Sebastien Couret
+ <10function at neuf.com> for fixing.
+ * ...
+
+ -- W. Martin Borgert <debacle at debian.org>
+
trac (0.11.6-1) unstable; urgency=low
* New upstream release (Closes: #558976).
Modified: packages/trac/trunk/debian/patches/00list
===================================================================
--- packages/trac/trunk/debian/patches/00list 2009-12-16 22:18:58 UTC (rev 4307)
+++ packages/trac/trunk/debian/patches/00list 2009-12-16 23:14:31 UTC (rev 4308)
@@ -4,3 +4,4 @@
40_timeline_author_filter.dpatch
50_sqlitetopg_script.dpatch
60_roadmap_dbx_cursor_fix.dpatch
+70_cache_control_typo.dpatch
Added: packages/trac/trunk/debian/patches/70_cache_control_typo.dpatch
===================================================================
--- packages/trac/trunk/debian/patches/70_cache_control_typo.dpatch (rev 0)
+++ packages/trac/trunk/debian/patches/70_cache_control_typo.dpatch 2009-12-16 23:14:31 UTC (rev 4308)
@@ -0,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 70_cache_control_typo.dpatch by Sebastien COURET <10function at neuf.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fixes a typo in tracd HTTP code
+
+ at DPATCH@
+
+--- trac/web/api.py 2009-12-16 21:39:06.000000000 +0000
++++ trac/web/api-patched.py 2009-12-16 21:51:20.000000000 +0000
+@@ -321,7 +321,7 @@
+ self.send_header('Content-Type', 'text/plain')
+ self.send_header('Content-Length', 0)
+ self.send_header('Pragma', 'no-cache')
+- self.send_header('Cache-control', 'no-cache')
++ self.send_header('Cache-Control', 'no-cache')
+ self.send_header('Expires', 'Fri, 01 Jan 1999 00:00:00 GMT')
+ self.end_headers()
+
+@@ -350,7 +350,7 @@
+
+ def send(self, content, content_type='text/html', status=200):
+ self.send_response(status)
+- self.send_header('Cache-control', 'must-revalidate')
++ self.send_header('Cache-Control', 'must-revalidate')
+ self.send_header('Content-Type', content_type + ';charset=utf-8')
+ self.send_header('Content-Length', len(content))
+ self.end_headers()
+@@ -386,7 +386,7 @@
+
+ self.send_response(status)
+ self._outheaders = []
+- self.send_header('Cache-control', 'must-revalidate')
++ self.send_header('Cache-Control', 'must-revalidate')
+ self.send_header('Expires', 'Fri, 01 Jan 1999 00:00:00 GMT')
+ self.send_header('Content-Type', content_type + ';charset=utf-8')
+ self.send_header('Content-Length', len(data))
Property changes on: packages/trac/trunk/debian/patches/70_cache_control_typo.dpatch
___________________________________________________________________
Added: svn:executable
+ *
More information about the Python-apps-commits
mailing list