Ver Fonte

Added Cache-Controle: private header.

Taddeus Kroes há 14 anos atrás
pai
commit
63fce00c82
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/cache.py

+ 1 - 0
src/cache.py

@@ -155,6 +155,7 @@ class Cache:
         #try:
         web.http.modified(seconds_to_datetime(last_modified), self.etag())
         web.http.expires(timedelta(**self.expires))
+        web.header('Cache-Control', 'private')
 
         if not server_modified:
             # Concatenated content has not been loaded yet, read the cached