Browse Source

don't cache /nodes.json

Helge Jung 8 years ago
parent
commit
693005f8a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ffstatus/server.py

+ 1 - 1
ffstatus/server.py

@@ -368,7 +368,7 @@ angesprochen und sollte aus einer Mehrzahl von Gründen nicht
             nodes.append(entry)
 
         result = {'nodes': nodes}
-        self.__send_headers(content_type='application/json',
+        self.__send_headers(content_type='application/json', nocache=True,
                             extra={'Content-Disposition': 'inline'})
         self.wfile.write(json.dumps(result, indent=indent))