Репозитории ALT
S: | 2.1.39-alt1 |
5.1: | 2.1.12-alt2 |
4.1: | 2.1.10-alt0.3.1.M41.1 |
4.0: | 2.1.9-alt6.M40.1 |
3.0: | 2.1.6-alt1 |
Группа :: Система/Серверы
Пакет: mailman
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: mailman-2.1.9-deb-66_donot_let_cache_html_pages.patch
Скачать
Скачать
Patch to prevent browser from caching pages.
Index: Mailman/htmlformat.py
===================================================================
--- Mailman/htmlformat.py.orig 2006-09-19 13:43:51.000000000 +0200
+++ Mailman/htmlformat.py 2006-09-19 15:47:16.000000000 +0200
@@ -300,7 +300,8 @@
charset = 'us-ascii'
if self.language and Utils.IsLanguage(self.language):
charset = Utils.GetCharSet(self.language)
- output = ['Content-Type: text/html; charset=%s\n' % charset]
+ output = ['Content-Type: text/html; charset=%s' % charset]
+ output.append('Cache-control: no-cache\n')
if not self.suppress_head:
kws.setdefault('bgcolor', self.bgcolor)
tab = ' ' * indent