view jabberbot/ @ 5206:64854adb52fc

add Expires header with now + 10 seconds for AttachFile do=get and do=box User's browser shall usually request the wiki content as it might change fast. It'll either get a 200 OK response with the content, or (if content was not modified) a 304 NOT MODIFIED response. Without the Expires header, browser does not request the content (I guess it uses some builtin heuristics then to determine when to do a request, and that that might be much too slow for fast changing wikis).
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 10 Oct 2009 15:54:36 +0200
parents 1ede132a9d38
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
    MoinMoin - jabber bot

    @copyright: 2007 by Karol Nowak <>
    @license: GNU GPL, see COPYING for details.