Attachment 'vary-cookie.diff'
Download 1 Modified: infrastructure/apwiki/trunk/lib/python2.3/site-packages/MoinMoin/Page.py
2 ==============================================================================
3 --- infrastructure/apwiki/trunk/lib/python2.3/site-packages/MoinMoin/Page.py (original)
4 +++ infrastructure/apwiki/trunk/lib/python2.3/site-packages/MoinMoin/Page.py Mon Jun 13 12:20:51 2005
5 @@ -1091,6 +1091,10 @@
6 if not content_only:
7 # send the document leader
8
9 + # need to inform caches that content changes
10 + # based on cookie (even if we aren't sending one now)
11 + request.setHttpHeader("Vary: Cookie")
12 +
13 # use "nocache" headers if we're using a method that
14 # is not simply "display", or if a user is logged in
15 # (which triggers personalisation features)
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.