~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/fileservice_lib/__init__.py

  • Committer: William Grant
  • Date: 2009-08-11 00:03:38 UTC
  • Revision ID: grantw@unimelb.edu.au-20090811000338-mzy5i7jbs7ac1o2m
Specify no-cache in fileservice responses, or Opera caches aggressively.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
    """Handler for the File Services application."""
96
96
 
97
97
    # We really, really don't want the responses to be cached.
98
 
    req.headers_out['Cache-Control'] = 'no-store, must-revalidate'
 
98
    req.headers_out['Cache-Control'] = 'no-store, no-cache, must-revalidate'
99
99
 
100
100
    # Get all the arguments, if POST.
101
101
    # Ignore arguments if not POST, since we aren't allowed to cause